sm7250-common: Add support for smart charging and battery health
Signed-off-by: Sandeep-FED <sandymankara11@gmail.com>
This commit is contained in:
3
sepolicy/vendor/system_server.te
vendored
3
sepolicy/vendor/system_server.te
vendored
@@ -1,2 +1,5 @@
|
||||
# Allow system_server to read Fast Charging status
|
||||
allow system_server vendor_sysfs_battery_supply:file { getattr open read };
|
||||
|
||||
#Smart charging
|
||||
allow system_server sysfs_battery_supply:file { getattr open read write };
|
||||
|
||||
Reference in New Issue
Block a user