function:BATTERY
Differences
This shows you the differences between two versions of the page.
| function:BATTERY [2015/07/13 08:49] – created peternlewis | function:BATTERY [2023/09/20 04:07] (current) – peternlewis | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== 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. | 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.1436777380.txt.gz · Last modified: by peternlewis
