get battery data from Xamarin EMDK?

B Ben Lam 3 years ago
6 1 0

Hi guys, I need to write an app to get battery info such as charge cycles and battery health. I want to use Xamarin.
 
I looked at the EMDK for Xamarin 1.0 docs and it doesn't seem to currently have this functionality?
 
I guess I have to use the android EMDK to get this info from Xamarin. Any tips/links on how I can do to this? Hopefully it isn't too painful. Many thanks in advance.
 
EMDK for Xamarin 1.0 docs I looked at: http://emdk.github.io/xamarin-docs/1.0/#guide-reference-EMDKList

Please register or login to post a reply

1 Replies

B Ben Lam

For future reference: it turns out battery info can be gained by using standard android functionality. There is Zebra specific info such as serial #, charge cycle count, etc. available too. See sample code: Battery Intent Sample

CONTACT
Can’t find what you’re looking for?