User Tools

Site Tools


function:BATTERY

BATTERY Function

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.

See Also

Functions

function/BATTERY.txt · Last modified: 2023/09/20 00:07 by peternlewis