pmu_battery: Fix battery full reporting
Prior to this patch, pmu_battery was unable to report battery full status. This patch fixes the issue by adding a proper handling code into pmu_bat_get_property(): if we're on AC and the battery isn't charging, then the battery is considered full. Signed-off-by: NThomas Champagne <lafeuil@gmail.com> Acked-By: NDavid Woodhouse <David.Woodhouse@intel.com> Signed-off-by: NAnton Vorontsov <cbouatmailru@gmail.com>
Showing
想要评论请 注册 或 登录