Version: unspecified (using KDE 4.6.0) OS: Linux Powerdevil can be configured to automatically hibernate, suspend or shutdown a laptop if its battery reaches the definable critical level, i.e. a remaining charge of 5 %. Since KDE 4.6.0 this feature does not work as expected. The screen gets locked but nothing else happens, whatever setting is used (hibernate, suspend or shutdown). This bug can cause data loss on every laptop running on battery if leaved unattended. This bug was originally reported by Rafael Belmonte on bugzilla.novell.com https://bugzilla.novell.com/show_bug.cgi?id=675405 Reproducible: Always Steps to Reproduce: Go to "Advanced Battery Settings", choose "hibernate" as the action, set the battery critical level to the actual charge - 1%, disconnect the ac adapter and wait.
Git commit 0069abf1e4531df4389add699ff048f2a2776d41 by Lamarque V. Souza. Committed on 11/03/2011 at 22:08. Pushed by lvsouza into branch 'KDE/4.6'. iSend the correct suspend type mode for suspendSession action. BUG: 268149 FIXED-IN: 4.6.2 M +3 -1 powerdevil/daemon/actions/bundled/handlebuttonevents.cpp http://commits.kde.org/kde-workspace/0069abf1e4531df4389add699ff048f2a2776d41
Git commit 27eab7e73722282de09a82992b380522a0aef246 by Lamarque V. Souza. Committed on 11/03/2011 at 21:59. Pushed by lvsouza into branch 'master'. Send the correct suspend type mode for suspendSession action. BUG: 268149 FIXED-IN: 4.6.2 M +3 -1 powerdevil/daemon/actions/bundled/handlebuttonevents.cpp http://commits.kde.org/kde-workspace/27eab7e73722282de09a82992b380522a0aef246