power: rk81x-battery: optimize zero discharge algorithm
authorJianhong Chen <chenjh@rock-chips.com>
Mon, 13 Jul 2015 14:31:03 +0000 (22:31 +0800)
committer许盛飞 <xsf@rock-chips.com>
Tue, 14 Jul 2015 05:51:48 +0000 (13:51 +0800)
commit7614e3b9ba6d018f23fcdd1e29c6dce12682b937
tree458f9bedc022802156fa73fe915a527d34a79d06
parent7f46fa83192f3c741864265016d1bdbf73228b5e
power: rk81x-battery: optimize zero discharge algorithm

avoid display_soc to be initialed in some case which makes dsoc
drop too quick

Signed-off-by: Jianhong Chen <chenjh@rock-chips.com>
Signed-off-by: 许盛飞 <xsf@rock-chips.com>
drivers/power/rk818_battery.c