Battery text mode: fix MSim crash

Change-Id: Iff1e39ee2b1bb8118f310a0f30b9bcc6baace243
Merge "Battery text mode: fix MSim crash" into lollipop