mirror of
https://github.com/chararomandroid/android_device_samsung_a20
synced 2026-08-23 12:35:33 -04:00
universal7885: powerhint: Add battery_saver hint
This commit is contained in:
parent
6f758b2ca6
commit
53c941bb94
5 changed files with 23 additions and 6 deletions
|
|
@ -9,6 +9,15 @@
|
|||
],
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
"Name": "KernelBatterySaver",
|
||||
"Path": "/sys/module/battery_saver/parameters/enabled",
|
||||
"Values": [
|
||||
"1",
|
||||
"0"
|
||||
],
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
"Name": "DoubleTapToWakeEnable",
|
||||
"Path": "/sys/class/sec/tsp/cmd",
|
||||
|
|
@ -32,6 +41,12 @@
|
|||
"Node": "TouchscreenEnable",
|
||||
"Duration": 0,
|
||||
"Value": "1"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LOW_POWER",
|
||||
"Node": "KernelBatterySaver",
|
||||
"Duration": 0,
|
||||
"Value": "1"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue