avicii: Use appropriate charging thresholds

* Our device directly measures in mA and not uA.
* This fixes "Charging Rapidly" info on lockscreen.
* Adjusted values according to avicii

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: AmolAmrit <amol.amrit03@outlook.com>
This commit is contained in:
Pranav Vashi
2023-04-15 00:00:27 +05:30
committed by AmolAmrit
parent b08262f3ce
commit 98106bdca0

View File

@@ -0,0 +1,14 @@
<?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">1500</integer>
<!-- Threshold in micro watts above which a charger is rated as "fast"; 1.5A @ 5V -->
<integer name="config_chargingFastThreshold">2500</integer>
</resources>