Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am using ubuntu 12.04 and whenever i disconnect it from power supply the panel battery icon shows me the remaining time at regular interval but it doesnot make an alert when the battery runs out of juice. I am in need of a solution if the battery turns critical it can show me an visual alert, notification or even a sound so that i do not have to monitor the remaining time regularly

share|improve this question
2  
Strange, in my system Ubuntu always shows me a Notification Bubble that the battery is running out of power. The bettery notification should be enabled in your system by default, try reinstalling the packages of NotifyOSD: sudo apt-get --reinstall install libnotify-bin notify-osd –  Rodrigo Martins Dec 20 '12 at 19:33
    
WOW ! Let me try it out. Just a min ! –  Arin Chakraborty Dec 20 '12 at 19:49
    
It really worked. I guess my notification system was faulty or something like that thanks for sorting that out ! Is there any way to manupulate this warning method ? just a query ! –  Arin Chakraborty Dec 20 '12 at 20:12
    
Manipulate the NotifyOSD is possible, but I there are just few tweaks, as color changes, time for desappear and placement. I'll make my comment an answer so you can accept it. –  Rodrigo Martins Dec 20 '12 at 20:16
    
If you want to try any manipulation: webupd8.org/2010/10/… –  Rodrigo Martins Dec 20 '12 at 20:21

1 Answer 1

up vote 4 down vote accepted

Your NotifyOSD may be corrupted or set to do-not-disturb mode for some reason.

You can reinstall it by entering this command in the terminal:

sudo apt-get --reinstall install libnotify-bin notify-osd

Restart your system and from now on You'll get notifications when the battery is running out of power.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.