Added LIPO 2 Reading

This commit is contained in:
2026-06-23 17:54:18 +02:00
parent 490e0ee61f
commit be18b758ed
8 changed files with 81 additions and 60 deletions
+1 -1
View File
@@ -633,7 +633,7 @@ func runBatteryPoller(link *managedSerial, hub *wsHub, interval time.Duration, s
case <-stop:
return
case <-ticker.C:
if hub.clientCount() == 0 {
if !link.IsConnected() {
continue
}
bat, err := link.BatteryStatusPoll(&pb.BatteryStatusRequest{AllClients: true})