You can clone with
HTTPS or Subversion.
Expected: batterystatus event is triggered
Actual: batterystatus event is not triggered
The battery level (info.level) is shown correctly, but the battery status (info.isPlugged) is undefined: https://github.com/downloads/blackberry-webworks/BB10-WebWorks-Framework/batterystatus.jpg
On the file system, in the file /pps/services/power/charger, the field ChargingState is missing for both simulator and real device. When I add this field on the simulator and set it to DC, then the batterystatus event is triggered and info.isPlugged becomes "true". This is probably why info.isPlugged is undefined and batterystatus is not triggered when connecting to a power source.
SCM build: 18.104.22.168
Device/simulator build: 10.0.6.360
@kwallis - the pps object seems to have changed, I doubt we can fix this in time for this release. Do you think it's gating? Wecan try to fix it today of you think it's gating.
@ishneur this has been fixed, correct?
Clearing milestone for now
Tested on 10.0.9.2448 and it works now.