Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is it possible to send an email to myself when the laptop is on low battery power?

I'm always online with my Android phone, but not always in front of the laptop, and sometimes I'm missing the warning.

Perhaps a Python or Bash script?

share|improve this question
Interesting, haven't tried that, but i guess the answer is Yes.…, found this on googling. Just add mail sending function and your good to go. – nickanor Dec 28 '12 at 19:30
Many thanks. Now i'm gonna search how to send mail using python. If/when i suceed, i'll post it back here. – ThiagoPonte Dec 28 '12 at 20:08

There is a Ubuntu software called Cuttlefish which enables you to create some tasks when some events occur on your computer. Perhaps you may create a task which sends you an email when the battery is low.

You can install it by writing it in a terminal : sudo add-apt-repository ppa:noneed4anick/cuttlefish && sudo apt-get update && sudo apt-get install cuttlefish.

share|improve this answer
I'll take a look at it, many thanks. – ThiagoPonte Jan 2 '13 at 13:24

Your Answer


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.