upower battery detection fix

Signed-off-by: Tom Swindell <t.swindell@rubyx.co.uk>