Ask Different is a question and answer site for power users of Apple hardware and software. 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

How can I adjust the level at which Mac OS warns me about the battery of my magic mouse?
I always have a lack of batteries, so I would prefer if the battery warning comes up at 15 or 20%, so I could work the rest of the day with the almost empty batteries and put them in the charger before I go to sleep.

Right now, if the warning occurs in the morning I have a problem.
I tried to steal the batteries out of my girlfriends camera or her wireless keyboard, but she does karate and defends her batteries.
Buying another set is not an option.

A way to get the battery level via applescript, shellscript, automator, whatever would be applicable too.

share|improve this question
up vote 2 down vote accepted

This thread has some scripts that can help you.

It seems that you wrap the results of this shell snippet in a nice AppleScript:

ioreg -c BNBMouseDevice | grep BatteryPercent
share|improve this answer

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.