4

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?

2
  • 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
2

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.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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