Apply exponential moving average to remaining time when unplugged
This applies exponential moving average to the remaining time history records to calculate the remaining time, to mitigate the impact of a short-time heavy load on the estimation of remaining time. CCBUG: 434432