Add udev related code in auto test for battery tests 70/235370/1
authorlokilee73 <changjoo.lee@samsung.com>
Wed, 3 Jun 2020 04:50:45 +0000 (13:50 +0900)
committerHyotaek Shim <hyotaek.shim@samsung.com>
Thu, 4 Jun 2020 06:27:37 +0000 (06:27 +0000)
commit10e5620ea9ffc2643dbc7dbe301653b58fc0c767
treee4906c763af8143902cbb5341069bb5897cb9260
parente7e17d0caa68880c295efaba3b08902277f9e27d
Add udev related code in auto test for battery tests

udev events should not be delivered for battery tests.
So, add udev related code to start and stop it.
In addition, add battery full and temperature test functions.

Change-Id: I3624b2c8238b08b36a89eacc9c6674458ffab452
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
(cherry picked from commit fa309a75edd44811da1bc1cbc9ec4f2a6daa1680)
conf/org.tizen.system.deviced.conf
src/auto-test/CMakeLists.txt
src/auto-test/auto-test.conf
src/auto-test/battery.c
src/auto-test/udev.c [new file with mode: 0644]
src/battery/power-supply.c