Snap for 9562441 from 4f38a9f165
to udc-release
Change-Id: I7bd95ddf64dc4eed98276c12e1534760624f0c3f
This commit is contained in:
commit
434ec98fe8
3 changed files with 35 additions and 0 deletions
|
@ -280,6 +280,9 @@ on init
|
|||
# Adaptive charge
|
||||
chown system system /sys/class/power_supply/battery/charge_deadline
|
||||
|
||||
# Charging policy
|
||||
chown system system /sys/class/power_supply/battery/charging_policy
|
||||
|
||||
# Battery Defender
|
||||
chown system system /sys/devices/platform/google,battery/power_supply/battery/bd_trickle_cnt
|
||||
chown system system /sys/devices/platform/google,battery/power_supply/battery/bd_trickle_dry_run
|
||||
|
|
|
@ -0,0 +1,28 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
/*
|
||||
* Copyright (C) 2022 The Android Open Source Project
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
-->
|
||||
<resources>
|
||||
<!-- Whether the device should automatically switch away from Wi-Fi networks that lose
|
||||
Internet access. Actual device behaviour is controlled by
|
||||
Settings.Global.NETWORK_AVOID_BAD_WIFI. This is the default value of that setting. -->
|
||||
<integer translatable="false" name="config_networkAvoidBadWifi">0</integer>
|
||||
|
||||
<!-- Whether the device should actively prefer bad wifi to good cell on Android 12/13
|
||||
for configurations where config_avoidBadWifi=0. -->
|
||||
<integer translatable="false" name="config_activelyPreferBadWifi">0</integer>
|
||||
</resources>
|
|
@ -23,4 +23,8 @@
|
|||
|
||||
<!-- Mask to use when checking skb mark defined in config_networkWakeupPacketMark above. -->
|
||||
<integer translatable="false" name="config_networkWakeupPacketMask">0x80000000</integer>
|
||||
|
||||
<!-- Whether the device should actively prefer bad wifi to good cell on Android 12/13
|
||||
for configurations where config_avoidBadWifi=0. -->
|
||||
<integer translatable="false" name="config_activelyPreferBadWifi">1</integer>
|
||||
</resources>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue