@echo off
REM
REM Sample BattStat script to run on startup, resume, and power status change
REM
REM Use the Settings button, then the "..." chooser to select your edited file
REM Use the full pathname when running programs from this script
REM

if x%1 equ xAC goto AC
if x%1 equ xDC goto DC
if x%1 equ xResume goto Resume
goto end

:DC
REM Run program when switching to battery power
goto end

:AC
REM Run program when switching to line power
goto end

:Resume
REM Run program when resuming from sleep
REM BattStat will call the script a second time to indicate the power source
goto end

:end
