Try to handle plugin data when CPU is idle 03/230203/4
authorKichan Kwon <k_c.kwon@samsung.com>
Wed, 8 Apr 2020 11:24:40 +0000 (20:24 +0900)
committerKichan Kwon <k_c.kwon@samsung.com>
Fri, 17 Apr 2020 02:18:51 +0000 (11:18 +0900)
commit7e3532d4a15994d17190cbc5c8388ee30ac94aee
tree8d66f2315b4670f142ec5091bf97a52f191f0aeb
parenta0417e1acdd7449f2c68f18bff85fdc566adf2f7
Try to handle plugin data when CPU is idle

- Separate getting plugin data with calculating and DB restoring
- Period : 3 minutes -> 10 minutes
- Check whether CPU is idle before working
  - If CPU is busy, try on next time

Change-Id: I5c27880ad01c0f1142db4d1b804a4088770f95d5
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
CMakeLists.txt
include/bm_common.h
packaging/batterymonitor.spec
src/bm_power_engine.c