The bug is still present in 3.8.2-1. In fact, the "critical action" is
not triggered when my computer (HP Compaq 6910p) completely discharges
the first battery, but it is triggered when it wakes up from suspend
with the first battery completely discharged.

Although all of us hate ugly hacks, I would say that since the bug is
old and annoying, easily causing data loss (stuff which I have open when
my computer, which does not support hibernation, shuts down), it would
be wise to allow, in gnome-control-center, to set the action to execute
when the battery level is critical to "nothing".

Doing this is as trivial as adding the option to the glade file power.ui
- see the attached patch. Then, it could be reverted when the bug is
solved.

(The maintainer for the two packages is the same, but I can file a
separate bug targeting gnome-control-center if requested)

Pietro
--- gnome-control-center-3.4.3.1/panels/power/power.ui	2012-12-10 15:38:41.000000000 +0100
+++ power.ui	2013-09-30 15:06:23.000000000 +0200
@@ -21,6 +21,11 @@
         <col id="1">2</col>
         <col id="2">True</col>
       </row>
+      <row>
+        <col id="0" translatable="yes">Nothing</col>
+        <col id="1">5</col>
+        <col id="2">True</col>
+      </row>
     </data>
   </object>
   <object class="GtkListStore" id="liststore_time">

Reply via email to