User Tools

Site Tools


function:BATTERY

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

function:BATTERY [2015/07/13 04:49] (current)
peternlewis created
Line 1: Line 1:
 +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.txt ยท Last modified: 2015/07/13 04:49 by peternlewis