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: 188.8.131.52
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.
----- Original Message -----
From: Nukul Bhasin [mailto:firstname.lastname@example.org]
Sent: Thursday, July 12, 2012 06:26 AM
To: Ken Wallis
Subject: Re: [BB10-WebWorks-Framework] blackberry.system - info.isPlugged is undefined in 10.0.6.360 (#139)
Reply to this email directly or view it on GitHub:
This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.
@ishneur this has been fixed, correct?
Clearing milestone for now
Tested on 10.0.9.2448 and it works now.