mirror of
https://github.com/chararomandroid/android_device_samsung_a20
synced 2026-08-21 11:55:31 -04:00
universal7885: parts: fastcharge is reverted as well
This commit is contained in:
parent
5dcbb73be6
commit
3fa34f4db9
1 changed files with 1 additions and 1 deletions
|
|
@ -39,7 +39,7 @@ class Battery {
|
|||
return mBattery.getBatteryStats(BatterySys.FASTCHARGE) == 1
|
||||
}
|
||||
set(k) {
|
||||
mBattery.setBatteryWritable(BatterySys.FASTCHARGE, k)
|
||||
mBattery.setBatteryWritable(BatterySys.FASTCHARGE, !k)
|
||||
}
|
||||
|
||||
fun getGeneralBatteryStats(id: BatteryIds): Int = when (id) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue