Improve notifications
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-power |
Fix Released
|
Low
|
|||
gnome-power-manager (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: gnome-power-manager
Gnome Power Manager puts up notifications in many situations.
Five of these are unusual and important and should be acknowledged, so they should be presented as alert boxes instead:
* “Battery may be recalled”, with text “The battery in your computer may have been recalled by %s and you may be at risk. For more information visit the %s battery recall website.”, and buttons labelled “Visit recall website” and “Do not show me this again".
*
“Battery may be broken”, with text “Your battery has a very low capacity (%i%%), which means that it may be old or broken.” and a button "Do not show me this again". (This will fix bug 155191 (Battery Broken message cut off).)
* “UPS Discharging”, with text "The AC power has been unplugged. The system is now using backup power." and a button "Do not show me this again".
*
“Sleep Problem”, with text “Your computer failed to hibernate. Check the help file for common problems.” or “Your computer failed to suspend. Check the help file for common problems.” and containing a "Do not show me this again" button and a “Visit quirk website” button.
*
“Power Critically Low”, with text “You have approximately X minutes of remaining battery life (Y%). Plug in your AC Adapter to avoid losing data.”, or “The battery is below the critical level and this computer will power-off when the battery becomes completely empty.”.
Changed in gnome-power: | |
status: | Unknown → Confirmed |
Changed in gnome-power-manager: | |
status: | Fix Released → In Progress |
Changed in gnome-power: | |
importance: | Unknown → Low |
status: | Confirmed → Fix Released |
An updated patch. This fixes a memory leak in the previous patch (the hash table entry wasn't freed after the alert callback is executed). This also addresses the following issues that I failed to post in the bug description above:
Another situation is fairly common, but any response involves the hardware rather than the software, so it should use a notification bubble:
* “Battery Discharging”, “The AC power has been unplugged. The system is now using battery power.” with a “Do not show me this again” button. This button should be made conditional on whether the notification server supports actions.
Two others should put up neither a notification bubble nor an alert, so their bubbles should be removed:
* “Sleep warning”, “Your laptop will not sleep if you shut the lid as a running program has prevented this. Some laptops can overheat if they do not sleep when the lid is closed.”
* “Battery Charged”, “Your laptop battery is now fully charged”.