// TotalEnergy implements the api.MeterEnergy interface
TotalEnergy implements the api.MeterEnergy interface
// TotalEnergy implements the api . MeterEnergy interface
func (wb *Warp) totalEnergy() (float64, error) {
	var res warp.MeterState
	s, err := wb.meterG()
	if err == nil {
		err = json.Unmarshal([]byte(s), &res)
	}
	return res.EnergyAbs, err
}
func ( wb * Warp ) totalEnergy ( ) ( float64 , error ) { var res warp . MeterState s , err := wb . meterG ( ) if err == nil { err = json . Unmarshal ( [ ] byte ( s ) , & res ) } return res . EnergyAbs , err }
TotalEnergy implements the api.MeterEnergy interface
TotalEnergy implements the api . MeterEnergy interface