Antonio almost perfect, the only problem, and I tried more than once, Terminal stuck in a loop for checking the battery percentage.
It works perfectly when I use the actual machine, but when I use ARD to send a UNIX command as Root, if Terminal App on the target machine is not up and running, nothing is happing, but if Terminal it's up and running, this is what I get as output:
-InternalBattery-0 100%; discharging; (no estimate)
2015-10-04 17:34:52 -0400 com.apple.system.powersources
2015-10-04 17:35:52 -0400 com.apple.system.powersources.timeremaining
2015-10-04 17:35:52 -0400 IOPSNotificationCreateRunLoopSource
-InternalBattery-0 100%; discharging; 6:50 remaining
2015-10-04 17:35:52 -0400 com.apple.system.powersources
2015-10-04 17:36:52 -0400 com.apple.system.powersources.timeremaining
2015-10-04 17:36:52 -0400 IOPSNotificationCreateRunLoopSource
-InternalBattery-0 100%; discharging; 6:55 remaining
2015-10-04 17:36:52 -0400 com.apple.system.powersources
2015-10-04 17:37:52 -0400 com.apple.system.powersources.timeremaining
2015-10-04 17:37:52 -0400 IOPSNotificationCreateRunLoopSource
-InternalBattery-0 100%; discharging; 7:05 remaining
2015-10-04 17:37:52 -0400 com.apple.system.powersources
2015-10-04 17:38:52 -0400 com.apple.system.powersources.timeremaining
2015-10-04 17:38:52 -0400 IOPSNotificationCreateRunLoopSource
-InternalBattery-0 100%; discharging; 6:55 remaining
2015-10-04 17:38:52 -0400 com.apple.system.powersources