Fixed power source callback ending sessions prematurely. Fixed power source battery detection not working for UPS sources.