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.

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
1  
Interesting, haven't tried that, but i guess the answer is Yes. masnun.com/2010/09/01/…, 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

1 Answer 1

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

 
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.