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

Method setBatteryBoost

core/loadpoint_api.go:618–622  ·  view source on GitHub ↗

setBatteryBoost returns the battery boost

(boost int)

Source from the content-addressed store, hash-verified

616
617// setBatteryBoost returns the battery boost
618func (lp *Loadpoint) setBatteryBoost(boost int) {
619 lp.Lock()
620 defer lp.Unlock()
621 lp.batteryBoost = boost
622}
623
624// SetBatteryBoost sets the battery boost
625func (lp *Loadpoint) SetBatteryBoost(enable bool) error {

Callers 1

boostPowerMethod · 0.95

Calls 2

LockMethod · 0.95
UnlockMethod · 0.95

Tested by

no test coverage detected