Ticket #4401 (closed defect: fixed)
Sugar battery capacity does not update
| Reported by: | rsmith | Owned by: | kimquirk |
|---|---|---|---|
| Priority: | blocker | Milestone: | 8.2.0 (was Update.2) |
| Component: | power manager (OHM) | Version: | |
| Keywords: | Cc: | marco, cjb, hughsient, dilinger, rafael | |
| Action Needed: | Verified: | no | |
| Deployments affected: | Blocked By: | ||
| Blocking: |
Description
The capacity indicator in sugar does not update as the capacity of the battery changes. I think the reason for this is because the 1% SCI events are masked to prevent being woken up from sleep.
The eventual solution to this is to mask the SCI events when we go to sleep and then to unmask them during normal operation. OHM also needs to start deciding when the system is idle and put the system to sleep.
Until these things are in place sugar will have to poll for battery capacity changes. I think that every 3 to 5 minutes should be enough. 1% capacity changes happen about every 100 seconds.


