MCPcopy Create free account
hub / github.com/evcc-io/evcc / GetBatteryBoostLimit

Method GetBatteryBoostLimit

core/loadpoint_api.go:649–653  ·  view source on GitHub ↗

GetBatteryBoostLimit returns the battery boost soc limit

()

Source from the content-addressed store, hash-verified

647
648// GetBatteryBoostLimit returns the battery boost soc limit
649func (lp *Loadpoint) GetBatteryBoostLimit() int {
650 lp.RLock()
651 defer lp.RUnlock()
652 return lp.batteryBoostLimit
653}
654
655// SetBatteryBoostLimit sets the battery boost soc limit
656func (lp *Loadpoint) SetBatteryBoostLimit(limit int) {

Callers 1

UpdateMethod · 0.95

Calls 2

RLockMethod · 0.95
RUnlockMethod · 0.95

Tested by

no test coverage detected