Fixed bugs
Fixed bug in the isCharging method
Use bash instead off sh and changed node version