Implemented API into Windows power management interface.

Implemented automatic changes to the active power scheme when battery begins charging or discharging.