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

Method IsFastChargingActive

core/loadpoint_api.go:786–791  ·  view source on GitHub ↗

IsFastChargingActive indicates if fast charging with maximum power is active

()

Source from the content-addressed store, hash-verified

784
785// IsFastChargingActive indicates if fast charging with maximum power is active
786func (lp *Loadpoint) IsFastChargingActive() bool {
787 lp.RLock()
788 defer lp.RUnlock()
789
790 return lp.mode == api.ModeNow || lp.planActive || lp.minSocNotReached()
791}
792
793// GetRemainingDuration is the estimated remaining charging duration
794func (lp *Loadpoint) GetRemainingDuration() time.Duration {

Callers

nothing calls this directly

Calls 3

RLockMethod · 0.95
RUnlockMethod · 0.95
minSocNotReachedMethod · 0.95

Tested by

no test coverage detected