Skip to content

Commit

Permalink
Add support for devices in [control_files.json]
Browse files Browse the repository at this point in the history
Add support for ASUS ROG Phone 2 [msmnile] - sriharshaarangi#185
Add support for Google Pixel 3 [blueline] - sriharshaarangi#226
  • Loading branch information
d3cim authored Feb 13, 2022
1 parent 43ae7eb commit 655b071
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions app/src/main/res/raw/control_files.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,25 @@
"chargeOn": "1",
"chargeOff": "0"
},
{
"file": "/sys/class/power_supply/battery/device/smartchg_stop_charging",
"label": "smartchg_stop_charging",
"details": "ASUS ROG Phone 2 [msmnile]",
"chargeOn": "0",
"chargeOff": "1",
},
{
"file": "/proc/smb1357_disable_chrg",
"label": "SMB1357",
"details": "Asus ZenFone 2",
"details": "ASUS ZenFone 2",
"chargeOn": "0",
"chargeOff": "1",
"experimental": true
},
{
"file": "/proc/smb1357_disable_chrg",
"label": "SMB1357",
"details": "Asus ZenFone Zoom",
"details": "ASUS ZenFone Zoom",
"chargeOn": "0",
"chargeOff": "1",
"experimental": true
Expand Down Expand Up @@ -60,6 +67,13 @@
"chargeOn": "0",
"chargeOff": "1"
},
{
"file": "/sys/class/power_supply/battery/charge_disable",
"label": "charge_disable",
"details": "Google Pixel 3 [blueline]",
"chargeOn": "0",
"chargeOff": "1"
},
{
"file": "/sys/class/power_supply/battery/charger_control",
"label": "charger_control",
Expand Down

0 comments on commit 655b071

Please sign in to comment.