50ButtonsEach / fliclib-linux-hci

Flic SDK for Linux
307 stars 53 forks source link

Battery percentage not available #114

Open alexlarocca opened 1 year ago

alexlarocca commented 1 year ago

Battery percentage is not available since the listener always return -1%. This makes accurate maintenance of the system impossible. And the battery will be replaced when the system suddenly stops working. That is an unpleasant situation.

This is the output from simpleclient.

getInfo
Got info: Attached, b8:27:eb:5f:36:bf (PublicBdAddrType), max pending connections: 128, max conns: -1, current pending conns: 0, currently no space: n
Verified buttons:
80:e4:da:79:9a:07
80:e4:da:7b:99:23
createBatteryStatusListener 80:e4:da:79:9a:07 1
Battery status report for id 1, percentage: -1%, timestamp: Tue Jun  6 17:09:49 2023