From fb6a6e6cbe32564cea0683c43817756655ec0e10 Mon Sep 17 00:00:00 2001 From: Stephane Lee Date: Fri, 10 Dec 2021 14:50:45 -0800 Subject: [PATCH] Ensure aacr_state is writable for google battery Bug: 205900652 Test: Ensure that there are no permissions denied errors for google_battery Change-Id: Icec73159f3686d37fcf91971772ec85d102b92fe --- conf/init.gs101.rc | 1 + 1 file changed, 1 insertion(+) diff --git a/conf/init.gs101.rc b/conf/init.gs101.rc index 1d0b341c..aae865eb 100644 --- a/conf/init.gs101.rc +++ b/conf/init.gs101.rc @@ -240,6 +240,7 @@ on init chown system system /sys/devices/platform/google,battery/power_supply/battery/bd_trickle_reset_sec chown system system /sys/devices/platform/google,battery/power_supply/battery/bd_clear chown system system /sys/devices/platform/google,battery/power_supply/battery/health_safety_margin + chown system system /sys/devices/platform/google,battery/power_supply/battery/aacr_state chown system system /sys/devices/platform/google,charger/bd_drainto_soc chown system system /sys/devices/platform/google,charger/bd_recharge_soc chown system system /sys/devices/platform/google,charger/bd_recharge_voltage