Add battery max charge/discharge power (#22944)
This commit is contained in:
parent
48175688b7
commit
7101f7049f
9 changed files with 3016 additions and 191 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue