From: Chanwoo Choi Date: Thu, 22 Nov 2012 07:53:46 +0000 (+0900) Subject: charger-manager: Fix bug related to checking fully charged state of battery X-Git-Tag: v3.8-rc1~50^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0fa11dbc234268c4160b81f67220308dea3c156a;p=pandora-kernel.git charger-manager: Fix bug related to checking fully charged state of battery This patch fix bug related to checking fully charged state of battery when charger-manager call is_full_charged() function. After reading property of charger/fuel-gauge through power_supply API, val.intval is more than 1. So, is_full_charged() function always return true. If true, battery means fully charged state. Signed-off-by: Chanwoo Choi Signed-off-by: Myungjoo Ham Signed-off-by: Kyungmin Park Signed-off-by: Anton Vorontsov --- Reading git-diff-tree failed