andyvorld / LGSTrayBattery

A tray app used to track battery levels of wireless Logitech mouse.
GNU General Public License v3.0
369 stars 30 forks source link

Battery Percentage Zero When Disconnected #72

Open sburke781 opened 11 months ago

sburke781 commented 11 months ago

I have two G-Hub devices, a 915 TKL keyboard and a G502 Lightspeed mouse. I use them on both my personal mini-PC (where this app is installed) and on my work laptop. I have some code running on my Hubitat home automation hub that polls the app on my PC to get the XML for device battery percentages and records the value in Hubitat.

I updated the app in the last few months after a long period of running older code from probably 2-3 years ago (I expect). My memory of how this behaved in the older app version when I connected my devices to my work laptop, was that the battery continued to read the same value from the last time they were connected to my PC. Under the more recent app version the battery is reading as zero when I do not have them connected to my PC.

This may also be a similar issue to others reported, so happy to close it if it is a duplicate.

andyvorld commented 10 months ago

I had just recently rewrote https://github.com/andyvorld/LGSTrayBattery/releases/tag/v3.0.0-rc.2

Have a go at it, it should have been fixed.

sburke781 commented 9 months ago

Sorry, I keep meaning to come back and post a comment on this. I suspect it is working as I need it to now, but will check more closely in the next day or two. Thanks for updating the app.