add battery information for windows

this uses the MS API to get information about the battery
state.