sm7250-common: Add support for smart charging and battery health

Signed-off-by: Sandeep-FED <sandymankara11@gmail.com>
This commit is contained in:
spkal01
2022-10-25 12:11:58 +05:30
committed by Sandeep-FED
parent e936225bf0
commit 5267f316f7
5 changed files with 36 additions and 0 deletions

View File

@@ -2,6 +2,7 @@ allow system_app sysfs_zram:dir search;
allow system_app proc_pagetypeinfo:file read;
allow system_app sysfs_dm:file rw_file_perms;
allow system_app sysfs_vibrator:file rw_file_perms;
allow system_app sysfs_vibrator:dir r_dir_perms;
allow system_app sysfs_leds:dir search;
@@ -9,3 +10,9 @@ allow system_app proc_pagetypeinfo:file r_file_perms;
allow system_app sysfs_zram:dir search;
allow system_app sysfs_zram:file r_file_perms;
allow system_app sysfs:file { getattr };
allow system_app vendor_sysfs_battery_supply:dir search;
allow system_app vendor_sysfs_battery_supply:file r_file_perms;