Skip to content

Commit

Permalink
umi: decrease the slow and fast charging threshold
Browse files Browse the repository at this point in the history
As we have dumb users that don't know anything about fluctuations of current so show them Fast Charging after 5.50W
  • Loading branch information
marshmello61 authored and yarpiin committed May 15, 2021
1 parent 05a53fc commit 706f947
Showing 1 changed file with 29 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
** Copyright 2009, 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.
*/
-->

<!-- These resources are around just to allow their values to be customized -->
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">

<!-- Threshold in micro watts below which a charger is rated as "slow"; 0.50 A @ 4.00 V = 2.00 W -->
<integer name="config_chargingSlowlyThreshold">2000000</integer>

<!-- Threshold in micro watts above which a charger is rated as "fast"; 1.375 A @ 4.00 V = 5.50 W -->
<integer name="config_chargingFastThreshold">5500000</integer>

</resources>

0 comments on commit 706f947

Please sign in to comment.