Closed Bug 1023008 Opened 10 years ago Closed 10 years ago

[Tarako] If the battery power is low ( 20% ), wifi debug, enable console is turned on and you web browse, the device will shut off by itself.

Categories

(Firefox OS Graveyard :: Gaia::System, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(b2g-v1.3T affected)

RESOLVED WORKSFORME
Tracking Status
b2g-v1.3T --- affected

People

(Reporter: nhirata, Assigned: zhenqing.liu)

Details

1. turn on wifi debug, and enable console in dev settings
2. have the battery at around 20%
3. make sure that the device is not plugged in
4. go to news.google.com
5. click on a link
6. let the device go to sleep
7. tap the power button to wake the phone

Expected: the device will wake
Actual: the device stays black.

Note:
1. this doesn't seem to occur with wifi debug off and console is disabled.
Gaia      adb258b88485ccf1ff2e971de0fda547e4bb7149
Gecko     https://hg.mozilla.org/releases/mozilla-b2g28_v1_3t/rev/e8b77a1c7c78
BuildID   20140609014001
Version   28.1
ro.build.version.incremental=eng.cltbld.20140609.051654
ro.build.date=Mon Jun  9 05:17:02 EDT 2014
Tarako
I am not noming this, because I don't expect end users to turn on the wifi debug nor enable console.
By your test steps, I am wonder this is back screen issue or device shutdown. Is there any response when we insert charging cable after issue happened? If it's device shutdown, we should see the charging animation after cable in.
Moreover, is there slog for analyzing?
Flags: needinfo?(nhirata.bugzilla)
There was no charging animation; I think it was a back screen issue.  Once I plugged the device in, it would start responding.

Unfortunately, I don't have a slog.  The last slog I have is from 5/30
Flags: needinfo?(nhirata.bugzilla)
Is there a way to manually capture a slog?
Flags: needinfo?(dliang)
or would logcat be ok?

My battery is fully charged today so I am not sure if I can reproduce at this time.
Slog is enabled on userdebug build and please must insert SD card.
You can use below command to get slog
#adb pull /sdcard/slog slog

If device hang and black screen, you might be unable to connect adb and get log successfully.
If adb cannot be connected and no charging animation, please restart device and get slog again, we can check last_log of slog.

If it's out of battery to cause device shutdown, you will see battery animation when you attempt to connect device via usb cable. In this case, please remove the battery and get slog from SD card directly.

Slog is better, slog included kernel log and logcat.
Flags: needinfo?(dliang)
Hi James,
Do you know the format of shutdown and battery log in kernel log?
Flags: needinfo?(james.zhang)
Assignee: nobody → zhenqing.liu
Flags: needinfo?(james.zhang)
I tried several times at battery is about 14% low and everything is OK. Please make sure it is not because of battery loose.
As for the shutdown and battery log in the kernel, the keywords may be shutdown, battery_update, PM.
I can't seem to reproduce this using a more recent build.  I'm not sure what occurred.

Gaia      5611a68f5c039f62ae74b828feff1530ab066d3a
Gecko     https://hg.mozilla.org/releases/mozilla-b2g28_v1_3t/rev/7011129d1abd
BuildID   20140612014001
Version   28.1
ro.build.version.incremental=eng.cltbld.20140612.045203
ro.build.date=Thu Jun 12 04:52:09 EDT 2014

I am going to close this as WFM.  Is that ok?
Status: NEW → RESOLVED
Closed: 10 years ago
Flags: needinfo?(zhenqing.liu)
Resolution: --- → WORKSFORME
OK. At least for now. Thanks.
Flags: needinfo?(zhenqing.liu)
You need to log in before you can comment on or make changes to this bug.