diff --git a/universal7885-common/health/Android.bp b/universal7885-common/health/Android.bp index 97b5d02..89ccd41 100644 --- a/universal7885-common/health/Android.bp +++ b/universal7885-common/health/Android.bp @@ -21,7 +21,6 @@ cc_library_shared { "libbatterymonitor", "libhealthloop", "libhealth2impl", - "libc++fs" ], srcs: [ diff --git a/universal7885-common/health/HealthImpl.cpp b/universal7885-common/health/HealthImpl.cpp index 0ae66fd..1ec2bae 100644 --- a/universal7885-common/health/HealthImpl.cpp +++ b/universal7885-common/health/HealthImpl.cpp @@ -3,7 +3,6 @@ #include #include #include -#include // C++17 #include #include @@ -19,9 +18,6 @@ using ::android::hardware::health::V2_0::Result; using ::android::hardware::health::V1_0::BatteryStatus; using ::android::hidl::base::V1_0::IBase; using namespace std::literals; -namespace fs = std::filesystem; - -static int charge_cnt = 0; enum battery_stats { CHARGE_CNT,