Geting battery percentage #14
Replies: 2 comments 3 replies
-
Yeah totally is. Not really sure what you mean by checked the api, the pyluba library contains all protobuf messages, so if you decompile the apk and look at esputil you'll see all the commands, there are a lot of commands already in pyluba, the main protobuf message that comes back from Luba I'm pretty sure has battery info, Luba will start sending them as soon as you connect over ble. Part of pyluba that needs further work is converting those messages from protobuf back into models, which is partly there. |
Beta Was this translation helpful? Give feedback.
-
Finally worked out which command gets back the most useful data and its get_report_cfg can find example in test_instance.py |
Beta Was this translation helpful? Give feedback.
-
I've checked the API for Bluetooth connection, but I'm wondering if it's possible to obtain battery status information, such as the level of charge?
Beta Was this translation helpful? Give feedback.
All reactions