[Aries] The phone doesn't suspend after turning off the screen

NEW
Unassigned

Status

Firefox OS
Performance
P2
normal
2 years ago
2 years ago

People

(Reporter: cyu, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

2 years ago
STR:
* Boot up the phone
* Press the power button to turn off the screen
* Wait a while and then get adb logcat.

Expected result: the device should suspend there should be no log entries when the screen is off
Actual result: there is still hw compositor log in the log, showing that the device doesn't actually suspend (refer to the attachment).
(Reporter)

Comment 1

2 years ago
Created attachment 8639168 [details]
Logcat when 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
There will definitely continue to be logcat entries after the screen is off. The phone will go into and out of suspension, depending on background activities, etc.

However, I wouldn't have expected the hwcompositor to still be doing anything after the screen is turned off.

Updated

2 years ago
Priority: -- → P2
You need to log in before you can comment on or make changes to this bug.