PowerManagement: check if WakeLock is held before calling release (prevents RuntimeException)