[Aries] Unplug USB, screen off, power usage stays at ~22mA instead of dropping to idle

NEW
Unassigned

Status

Firefox OS
Performance
P2
normal
2 years ago
2 years ago

People

(Reporter: jhylands, Unassigned)

Tracking

unspecified
ARM
Gonk (Firefox OS)

Firefox Tracking Flags

(tracking-b2g:backlog)

Details

Attachments

(2 attachments, 1 obsolete attachment)

(Reporter)

Description

2 years ago
Created attachment 8638010 [details]
Ammeter graph showing steady state ~22mA power usage

On Flame, when you unplug USB, the power usage changes from charging (negative net power) to idle (~0.2 mA), which is expected.

On Aries, when you unplug USB, the power usage changes from charging to stay at about 22mA. Once you turn on the screen and then turn it off again, power usage drops to normal idle behavior.

We need to find out what is consuming this power...
Created attachment 8639122 [details]
adb logcat while the screen is off

This is the logcat containing activities while the screen is off. I got this log after rebooting and turning off the screen. At 11:48 the screen is off but we still see that the b2g process has activities:

07-27 11:48:43.003 I/qdhwcomposer(  318): handle_blank_event: dpy:1 panel power state: 0

b2g-ps result:

b2g              0 root      318   1     334228 115684 ffffffff 00000000 S /system/b2g/b2g
(Nuwa)           0 root      574   318   99636  17880 ffffffff 00000000 S /system/b2g/b2g
Homescreen       2 u0_a1143  1143  574   187136 51508 ffffffff 00000000 S /system/b2g/b2g
Built-in Keyboa  2 u0_a1382  1382  574   137312 30764 ffffffff 00000000 S /system/b2g/b2g
Smart Collectio  2 u0_a1709  1709  318   135400 42836 ffffffff 00000000 S /system/b2g/plugin-container
RunWhatsApp (Pr  2 u0_a1844  1844  574   199184 70048 ffffffff 00000000 S /system/b2g/b2g
Find My Device   2 u0_a1916  1916  574   127884 29984 ffffffff 00000000 S /system/b2g/b2g
Usage            2 u0_a2065  2065  318   135236 43056 ffffffff 00000000 S /system/b2g/plugin-container
(Preallocated a  2 u0_a2114  2114  574   114364 25692 ffffffff 00000000 S /system/b2g/b2g
Comment on attachment 8639122 [details]
adb logcat while the screen is off

It should be another issue. I opened bug 1187796 for it.
Attachment #8639122 - Attachment is obsolete: true
(Reporter)

Comment 3

2 years ago
Created attachment 8640709 [details]
Lollipop Ammeter Graph

So this appears to be an issue with the Z3C running Lollipop (Android) as well.

Updated

2 years ago
Blocks: 1189613
tracking-b2g: --- → +

Comment 4

2 years ago
[Tracking Requested - why for this release]:
tracking-b2g: + → backlog
Priority: -- → P2
You need to log in before you can comment on or make changes to this bug.