Closed Bug 913422 Opened 11 years ago Closed 11 years ago

[Per app power metering] - Can't get CPU usage after process closed

Categories

(Firefox OS Graveyard :: General, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: bochen, Unassigned)

Details

When an App is closed from Screen, the content process sends a notification to Chrome process and then just dies out. Hence, when Chrome process attempts to read CPU usage from /proc/<pid>/stat, it will get nothing. A possible solution is that: when user long presses the Home buttom to show all running Apps on the screen, we can send a message to PowerStatsService and trigger it to store the CPU usage of all Apps.
Blocks: 854204
The bug was solved in bug#854204
No longer blocks: 854204
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.