Implement and use UPower Battery plugin