My understanding is that they did a study on the feasibility of Electric Garbage trucks in NYC. The problem was that NYC Garbage trucks are also used as snow plows and it killed their range.

Found an article

https://nyc.streetsblog.org/2022/11/18/dsnys-electric-trucks...

That article suggests electric trucks are suitable for 2/3 of garbage routes and 100% of street sweeping using technology that was already outdated in 2022.

It also suggests NYC was moving forward with the program and bought seven more trucks which would have already aged out by now.