Refactor the Linux/upower QBatteryInfo to match the other platforms

I missed this refactorization in 15d5f78.

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