Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
add comment

1 Answer

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
add comment

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.