;Battery UDF Example
; by minx - the (c) is strong with this one :-)

#include <_Batt.au3>

MsgBox(0, "Battery UDF", "The "&_Batt_GetCaption()&" Battery is currently "&_Batt_GetState()&". You also have "&_Batt_GetCharge()&"% battery charge to play around with AutoIt."&@CRLF&@CRLF&"I just calculated a voltage of "& _
						_Batt_GetVoltage()&"V for your batt.")