Fix battery related compilation errors on simulator

Change-Id: Icde8d7f9731e05193968a9f10f58556728d2a199
Reviewed-by: Travis Allen <tallen@blackberry.com>
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>