/** * Get power * @return string power with unit */ public function power() { if ($this->Activity->power() > 0) { return round($this->Activity->power()) . ' W'; } return ''; }
/** * Get power * @return string power with unit */ public function power() { if ($this->Activity->power() > 0) { return round($this->Activity->power()) . ' W'; } return ''; }