rootdir: Drop chown fastcharge sysfs to system

Also fix errors of aidl
This commit is contained in:
roynatech2544 2022-10-08 00:04:29 +09:00
commit 4296d27bea
4 changed files with 3 additions and 13 deletions

View file

@ -32,7 +32,7 @@ class Battery {
return mBattery.getBatteryStats(BatterySys.CHARGE) == 0
}
set(k) {
mBattery.setBatteryWritable(BatterySys.CHARGE, k)
mBattery.setBatteryWritable(BatterySys.CHARGE, !k)
}
var FastCharge: Boolean