How to display the % of battery in android.

MJ
María José
Daimler AG

Hi,

We got different terminals with Android 8 in the factory and they actually only display in the notification bar the icon of the battery but no his %, i try to find how to configure via StageNow or SOTI that parameter to evade configure the terminals one by one but i cannot find how to make it.

Someone know how i can do it?

4 years ago
Android
ANSWERS
C
Christophe
4 years ago (edited 4 years ago)

Hello,

you can perhpas use the javascript reference api in  the lockdown :

Namespace: battery | Android Agent JavaScript API Reference (soti.net)

and use command javascript for refresh lockdown every each hours ?

 I've never try ..try and tell us

Another solution, is perhpas to add an icon to the lockdown with a shortcut to the program of the battery .

Not best solution of course...

thanks

MB

Hi,

that sounds you are Using Zebra Devices and Enroll the Devices with an QR Code ?

MJ
María José
4 years ago

Yes, im using TC51 terminals and enrolling them into SOTI using QR code generated by StageNow.

MB

You should have the Option when you add into the Profile, Xpert Mode -> UiMgr

There you have the Option "Show Battery Percentage", with the Fields Do not Change, Turn on, Turn Off.

But i don´t Know if this is Supported with Android 8, depends on the MX** Version.

MD
Matt Dermody Diamond Contributor
4 years ago

Added in MX 10.1 so it should be possible to deploy to your devices as a StageNow generated MX XML + mxconfig script. 

The devices will need to be on LG3 or higher of the latest BSP in order to have MX 10.1 support so you may need to update them first before the setting will apply.