Add MaxACPower hybrid battery setting (#16609)

This commit is contained in:
andig 2024-10-13 19:20:40 +02:00 • committed by GitHub
parent ccade7c1f0
commit 3a88cb4add
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
28 changed files with 1472 additions and 171 deletions

View file

@ -44,6 +44,11 @@ type BatteryCapacity interface {
Capacity() float64
}
// BatteryMaxACPower provides max AC power in W
type BatteryMaxACPower interface {
MaxACPower() float64
}
// ChargeState provides current charging status
type ChargeState interface {
Status() (ChargeStatus, error)