Fix the logic to get the battery status
authorDoHyun Pyun <dh79.pyun@samsung.com>
Sat, 23 Mar 2013 00:14:09 +0000 (09:14 +0900)
committerGerrit Code Review <gerrit2@kim11>
Fri, 5 Apr 2013 06:04:49 +0000 (15:04 +0900)
commit1d218733384d24ebdb3f8e9ed7dc87c2da18f69a
tree35afe19c1858cc744a6d23efbaa5d884c627eadc
parenta5759af97e060216bf8963c209f582fcce610cd1
Fix the logic to get the battery status

[Issue] S1-13175

[Problem] Fail to enable BT (low battery popup was shown)

[Cause] If we fail to get the VCONFKEY_SYSMAN_BATTERY_STATUS_LOW
        vconf value, then _bt_util_is_battery_low function return
        true. So not allow to enable BT.

[Solution] Fix the logic.
           We should request the system part to modify this issue.
           (Can't get the vconf value)

Change-Id: Ib2b5534d84488e6440158ec742b1b8bd275506ef
src/libraries/bt-util.c