User Tools

Site Tools


function:BATTERY

**This is an old revision of the document!**

The BATTERY() function returns whether the Mac is currently running off battery power. It returns 0 if the Mac is connected to a power source or 1 if it is running off the battery.

function/BATTERY.1436777380.txt.gz · Last modified: by peternlewis

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki