How to be notified if the battery of my notebook is low?

Rick Stevens ricks at nerd.com
Wed Feb 9 17:06:09 UTC 2011


On 02/09/2011 08:44 AM, suvayu ali wrote:
> On Wed, Feb 9, 2011 at 6:24 AM, Dario Lesca<d.lesca at solinos.it>  wrote:
>>
>> Thank for reply, but I'm looking for how to tell to GNOME to notify me
>> when the battery is low with a pop up message (ad, if possible,
>> broadcast a "wall" message to the all remote user)
>
> The GNOME power manager should have this setting. Have you tried that?
> I don't use GNOME so can't be specific about instructions to try.
> Sorry.

Right click on the battery icon, select "Preferences", then the
"General" tab.  Under "Notification Area" there are a number of choices.
I have "Always display an icon" and if the battery gets low, a bubble
appears under the battery icon telling me it's low (also a big bubble
if I unplug the charger, etc).  If you don't already have the battery
icon, then run "gnome-power-preferences".

As to a "wall"-type message, there is nothing I know of but you could
write a quick cron program that checks the various variables in
/proc/acpi/battery/BAT0/state and does a "wall" if any of them get low.
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, C2 Hosting          ricks at nerd.com -
- AIM/Skype: therps2        ICQ: 22643734            Yahoo: origrps2 -
-                                                                    -
-  You know you've landed gear-up when it takes full power to taxi.  -
-                                                -- Chuck Yeager     -
----------------------------------------------------------------------


More information about the users mailing list