Fixed negative battery level for simulator
Cleaned whitespace on stack trace