guidance-power-manager TODO: ------------------------------ - [brightness preview], see below - make power-manager non-blocking - Wait with hibernate / suspending if the plug has just been pulled Some batteries only report remaining_time correctly after 30 or so seconds DUNNO's: --------- - How to detect how long the machine is idle? - How to perform actions that need root privileges (and are not available via HAL)? - Should we notify when battery is fully charged? FIXED: ------- - What is "blank"? "Screen Saver", "Blank Screen" or "Monitor off"? - Handle CPU hotplugging gracefully (try switching off one CPU when g-p-m is running...) - Make use of kstandardirs - Add icons to contextmenu - Remove brightness controls when not hasBrighness - Remove battery-specifif items from tooltip when there's no battery - Make settings dialogue not apply instantly (Save config only on OK and Apply) - Add cpu frequency to tooltip - Add icons to tooltip - Make tooltip size properly - battery hotplugging - Implement switchToBattery(), collecting all stuff for onBattery - notify - blankscreensaveronly - lowerbrightness - Implement switchToAC(), collecting stuff to run when plugged in: - notify - undo blankscreensaveronly - up brightness - Clicking onto the slider should move the handle to the closest tick, but how? - support for second battery [brightness preview] Currently there is only a brightness preview for the currently active scheme (_either_ mains or battery powered). That means if you want to set the battery brightness when you are currently mains powered, you'll probably move the battery slider, realise that there is no preview, go to the mains slider, move it till you found a nice brightness level, then go back to the battery slider and set it there. Would be nicer to have a preview for both sliders: Whenever you move to a new location, the brightness is adjusted. Has to be tested if it should be set back to previous value after 5 seconds, or if it should remain till you either move the other slider or click save (assuming explicit apply).