lihaoyun6 / AirBattery

Get the battery usage of all your devices on your Mac and put them on the Dock / Menu Bar / Widget! && 在Mac上获取你所有设备的电量信息并显示在Dock / 状态栏 / 小组件上!
https://lihaoyun6.github.io/airbattery/
GNU Affero General Public License v3.0
1.13k stars 32 forks source link

log command significant cpu use #59

Open bdillahu opened 2 months ago

bdillahu commented 2 months ago

I see there was another issue posted, but I don't speak the language, sorry.

I'm seeing random times that one or more "log" commands are using significant CPU - they seem to come and go along with AirBattery... just wanted to report it.

Thanks

lihaoyun6 commented 2 months ago

Please update to v1.4.4 or higher. In the new version, I added a watchdog to kill the log command when it cannot exit normally. If you need to completely turn off the log reader, you can also turn off "Enhanced HID Scanner" in the settings panel (after turning it off, you will not be able to see third-party HID devices such as Logitech)

Erik262 commented 2 months ago

I came here because of this very issue. Hopefully, it will be fixed soon. (because I do want to see third-party battery level :))

PurtucRobert commented 1 month ago

Still happens on latest version with Enhanced HID Scanner enabled