Added battery level stuff.