Add battery max charge/discharge power (#22944)

This commit is contained in:
andig 2025-08-25 10:46:20 +02:00 • committed by GitHub
parent 48175688b7
commit 7101f7049f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 3016 additions and 191 deletions

View file

@ -49,6 +49,11 @@ type MaxACPowerGetter interface {
MaxACPower() float64
}
// BatteryMaxPowerGetter provides max AC charge- and discharge power in W
type BatteryMaxPowerGetter interface {
GetMaxChargeDischargePower() (float64, float64)
}
// ChargeState provides current charging status
type ChargeState interface {
Status() (ChargeStatus, error)