heart : upgrade HEART-battery 92/100092/10 accepted/tizen/3.0/ivi/20161205.235125 accepted/tizen/3.0/mobile/20161205.235030 accepted/tizen/3.0/tv/20161205.235048 accepted/tizen/3.0/wearable/20161205.235106 submit/tizen_3.0/20161205.073831
authorKichan Kwon <k_c.kwon@samsung.com>
Fri, 25 Nov 2016 05:50:35 +0000 (14:50 +0900)
committerKichan Kwon <k_c.kwon@samsung.com>
Mon, 5 Dec 2016 07:12:31 +0000 (16:12 +0900)
commit39ec9d7687f7419f646ad9d5f028ed3d72680121
treecb493bef1be9bf336a5afea07f41da60ad83f70b
parentd0e9f4467a89b9db58a95e6379a96bd5a38fc5e6
heart : upgrade HEART-battery

1) Stability
  - Use enum for charger status instead of integer
  - Fix memory leak
  - Asynchronous (level)DB updating

2) New function
  - Discharge rate : HIGH(1.2x~), LOW(~0.8x), compare with predicted rate
  - New logic for battery remaining time estimation
    - Calculate SOE(State Of Energy) decreasing rate
    - SOE is considered to the integral of OCP(Open-Circuit Potential)
    - To use new logic, vendor have to support battery capacity and OCV coefficients

Change-Id: Ic80073028d8fde16980a53d8cb550023b56cb8b8
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
src/common/heart-common.h
src/heart/heart-battery.c
src/heart/heart.conf