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

Method stopWakeUpTimer

core/loadpoint.go:1967–1972  ·  view source on GitHub ↗

stopWakeUpTimer stops wakeUpTimer

()

Source from the content-addressed store, hash-verified

1965
1966// stopWakeUpTimer stops wakeUpTimer
1967func (lp *Loadpoint) stopWakeUpTimer() {
1968 if lp.wakeUpTimer.Running() {
1969 lp.log.DEBUG.Printf("wake-up timer: stop")
1970 lp.wakeUpTimer.Stop()
1971 }
1972}
1973
1974func (lp *Loadpoint) shouldBeConsistent() bool {
1975 return lp.chargerUpdateCompleted() && lp.phaseSwitchCompleted()

Callers 2

evChargeStartHandlerMethod · 0.95
setLimitMethod · 0.95

Calls 3

RunningMethod · 0.80
PrintfMethod · 0.80
StopMethod · 0.80

Tested by

no test coverage detected