Closed Bug 844998 Opened 11 years ago Closed 6 years ago

B2G reboots instead of powering off on low-battery

Categories

(Firefox OS Graveyard :: General, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(blocking-b2g:-)

RESOLVED WONTFIX
blocking-b2g -

People

(Reporter: bjacob, Unassigned)

Details

I actually got this running with no battery at all (see bug 844974) but the problem seems independent of that; the device reboots instead of powering off, and I get this JS stack:


I/Gecko   (  329): 0 sm_startPowerOff() ["app://system.gaiamobile.org/js/sleep_menu.js":219]
I/Gecko   (  329):     this = [object Object]
I/Gecko   (  329): 1 bm_checkBatteryDrainage() ["app://system.gaiamobile.org/js/battery_manager.js":29]
I/Gecko   (  329):     this = [object Object]
I/Gecko   (  329): 2 bm_init() ["app://system.gaiamobile.org/js/battery_manager.js":38]
I/Gecko   (  329):     this = [object Object]
I/Gecko   (  329): 3 <TOP LEVEL> ["app://system.gaiamobile.org/js/battery_manager.js":277]
I/Gecko   (  329):     this = [object Window]
I/Gecko   (  329):
Potential blocker.
blocking-b2g: --- → tef?
I always assumed this was a hardware issue.
Unfortunate but there is a workaround (take out battery and replace it) so we won't block here (might want SUMO article prepared in advance).
blocking-b2g: tef? → -
Aren't you concerned about possible user data loss? I thought that powering off on low battery was a means to avoid actually running out of battery, leaving corrupted data behind?
Also, depending on what kind of low-battery cut-off the hardware has, continuing to draw power from a "dead" battery can shorten its service life.
This also happens if you have no battery due to bug 844974.
I think the way of power off when low battery is the same with from sleep menu actively (long press power key). So if they are all have this behavior then we can check with partner.
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.