power: rk81x battery: use get_monotonic_boottime to get system run time
authorJianhong Chen <chenjh@rock-chips.com>
Mon, 13 Jul 2015 14:19:45 +0000 (22:19 +0800)
committer许盛飞 <xsf@rock-chips.com>
Tue, 14 Jul 2015 05:51:49 +0000 (13:51 +0800)
commit9e30271c2ce14cd37235fce787cacd01a18fa137
tree0078ee186d9a514e0492da45576613cb7a276a1f
parent40cec762a65bb900a5afcedf609ba263ec92f3f4
power: rk81x battery: use get_monotonic_boottime to get system run time

local_clock will lose the suspend time, so we use get_monotonic_boottime instead

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