User Tools

Site Tools


apple:hardware

Hardware

Battery

To see the battery status use, for PPC:

$ ioreg -p IODeviceTree -n battery -w 0 | grep Battery

for Intel:

$ ioreg -w0 -l | grep Capacity
apple/hardware.txt · Last modified: 2007/06/28 09:59 (external edit)

Informativa sui cookie