#693760 lxpanel should have 2 batery alarms (low and critical)

Package:
lxpanel
Source:
lxpanel
Description:
LXDE panel
Submitter:
Fernando Toledo
Date:
2012-11-20 02:15:05 UTC
Severity:
wishlist
#693760#5
Date:
2012-11-20 01:21:22 UTC
From:
To:
I think that the battery plugin should have 2 states of the alarms and
configure two independent commands to launch.

example:

1) for low battery (aprox 10%)  -> xmessage "ey!  pal you have batery low"
2) for critical level (aprox 5%)  -> sudo pm-hibernate

both, commands and values must be editable by the user.
for the "cirtial level" must be provide some command for hibernate but must be
not use sudo.  (maybe using dbus, polkit or some other system method)