Super User is a question and answer site for computer enthusiasts and power users. 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 modify when the "Low Battery" sign appears on a MacBook with Snow Leopard? For example, currently, it warns you about a low battery when it hits 10% of the overall battery charge. What if I want to set it to alert me on 15% or on 20%? How do I do that?

share|improve this question
up vote 0 down vote accepted

There is no way of changing the internal notifications. The only thing you can do is create your own new ones.

set a to do shell script "pmset -g batt | grep %"

set text item delimiters to tab
set a to text item 2 of a
set text item delimiters to "%"
set a to text item 1 of a as integer

if a < 20 then display dialog "Battery at 20%"

This code when run will check the current charge of the battery and prompt you if it's under 20%. You would have to run this script at small intervals for it to work properly.

share|improve this answer
    
Thanks for the help! Although I'm quite positive that I managed to change it before. Or maybe that was on the Windows side of the macbook. – Registered User Oct 14 '11 at 3:48

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .