The Battery Charging flag is a new SDK 3.x feature.
// if(sysST has :charging) { if(sysST.charging != null) { mBATC = sysST.charging; } }
On the Edge 520, SDK 2.4.x. Battery Charging returns 0 regardless of the Battery Charging setting in the simulator.
On the Edge 820, SDK 2.4.x. Battery Charging returns true or false depending on the Battery Charging setting in the simulator.
I'm guessing it should return 0 under SDK 2.4.x and only work (returning true or false) under SDK 3.x?