Improve upower battery device detection

Things like battery temperature sensor can have Type=Battery.

Check also Technology and EnergyFull properties before deciding that
the device is indeed a battery.

[mce] Improve upower battery device detection. Fixes JB#21849
Use NativePath == "battery" for upower battery device detection

This has been found to be the most portable solution.
Merge pull request #198 from spiiroin/battery_detection

Improve UPower battery device detection