upower battery detection fix

On systems that don't have energy-full properties exposed from upower, the method of battery detection in previous versions fails. Is it really necessary to have anything other than the type check? 

Signed-off-by: Tom Swindell <t.swindell@rubyx.co.uk>