Add MaxACPower hybrid battery setting (#16609)
This commit is contained in:
parent
ccade7c1f0
commit
3a88cb4add
28 changed files with 1472 additions and 171 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue