Fix battery warning CHARGING issued without waiting for 5 minutes interval.