xbmc/xbmc — pull request #5918 by Karlson2k (2014-12-08 18:25:32+00:00)
Title: Update of Power Management functions

For all platforms:
* put more information to the log in PowerManager (currently it log minimal information, sometimes it's hard to track processes before Suspend/Shutdown),
* prevent possible crashes if PowerManager functions called Initialize()

For win32:
* prevent lock of main thread on Suspend/Hibernate
* add more error and debug logging
* move all power management functions from Win32Utils to Win32PowerSyscall