Skip to content
Commit 1c358158 authored by Fushan Wen's avatar Fushan Wen
Browse files

Fix incorrect handling of energy rate when charging

When a battery is being charged, EnergyRate is negative, and the value
shouldn't be separately handled when calculating the total rate,
otherwise setBatteryRate will report a wrong remaining time.
parent 4a72772a
Pipeline #491774 passed with stage
in 2 minutes and 16 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment