1allow charger_vendor mnt_vendor_file:dir search; 2allow charger_vendor sysfs_batteryinfo:file w_file_perms; 3allow charger_vendor persist_file:dir search; 4allow charger_vendor persist_battery_file:dir search; 5allow charger_vendor persist_battery_file:file rw_file_perms; 6allow charger_vendor sysfs_scsi_devices_0000:file r_file_perms; 7allow charger_vendor sysfs_thermal:file w_file_perms; 8allow charger_vendor sysfs_thermal:lnk_file read; 9allow charger_vendor thermal_link_device:dir search; 10set_prop(charger_vendor, vendor_battery_defender_prop) 11