Fix qserviceinterfacedescriptor unit test

It seems the debug stream removes a space at its end.

Change-Id: I2a4677d3fd2a136238034ea1a4ea5ed3dd618a86
Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
upower: Return QBatteryInfo::LevelEmpty when the percentage is lower than 3%.

This gives applications some extra time to respond to this situation, and
prepare for system shutdown, as systems often turn off for safety before
absolute 0 is hit.

Change-Id: Ie6fc40bb80c9b2c07898c6fc1852c78add95b24f
Done-with: Vesa Halttunen <vesa.halttunen@jollamobile.com>
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Fix build: CWGlobals.h does not exist anymore

Change-Id: Iaabddc0612c3b52d4e84dca3a94521d70147e45d
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>