avicii: overlay: Use appropriate charging thresholds

* Our device directly measures in mA and not uA.
* This fixes "Charging Rapidly" info on lockscreen.

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
This commit is contained in:
Pranav Vashi
2022-10-28 04:12:35 +00:00
committed by Sandeep-FED
parent e376b6d6a5
commit aaf33230d9

View File

@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2022 The LineageOS Project
SPDX-License-Identifier: Apache-2.0
-->
<resources>
<!-- Threshold in micro watts below which a charger is rated as "slow"; 1A @ 5V -->
<integer name="config_chargingSlowlyThreshold">5000</integer>
<!-- Threshold in micro watts above which a charger is rated as "fast"; 1.5A @ 5V -->
<integer name="config_chargingFastThreshold">7500</integer>
</resources>