Comments (14)
Logs would be useful indeed. Some users reported similar "accidents".
See this post for instructions how to filter out relevant logcat stuff:
https://forum.xda-developers.com/showpost.php?p=72218650&postcount=581
from batterychargelimit.
That's all:
07-11 21:55:49.605 D/Charging State(11919): CHARGE_REFRESH 1119214008
07-11 21:55:59.435 D/Power State(19944): ACTION_POWER_CONNECTED
In morning phone was charged to 100%, there is no app icon or process in os monitor. After reconnecting cable icon and process (actually two processes) appeared again.
from batterychargelimit.
More log:
07-13 20:57:12.475 D/Power State( 6765): ACTION_POWER_CONNECTED
07-13 20:57:15.195 D/Power State( 6875): ACTION_POWER_DISCONNECTED
07-13 20:57:19.435 D/Power State( 6875): ACTION_POWER_CONNECTED
07-13 20:57:20.365 D/Charging State( 6875): CHARGE_FULL 1114069464
07-13 21:28:07.095 D/Power State( 6875): ACTION_POWER_DISCONNECTED
07-13 21:29:37.410 D/Power State( 9831): ACTION_POWER_CONNECTED
07-13 21:29:37.735 D/Power State( 9831): ACTION_POWER_DISCONNECTED
07-13 21:29:38.715 D/Charging State( 9831): CHARGE_FULL 1114082688
07-13 21:29:43.290 D/Power State( 9831): ACTION_POWER_CONNECTED
07-13 21:29:43.610 D/Power State( 9831): ACTION_POWER_DISCONNECTED
07-13 21:29:44.375 D/Charging State( 9831): CHARGE_FULL 1114454848
07-13 21:29:45.720 D/Power State( 9831): ACTION_POWER_CONNECTED
07-13 21:29:46.230 D/Charging State( 9831): CHARGE_FULL 1114454848
07-13 22:12:11.030 D/Charging State( 9831): CHARGE_STOP 1114454848
07-13 22:12:14.375 D/Power State( 9831): ACTION_POWER_DISCONNECTED
07-13 22:19:47.360 D/Power State(12067): ACTION_POWER_DISCONNECTED
07-13 22:19:58.285 D/Power State(12581): ACTION_POWER_CONNECTED
07-13 22:19:59.055 D/Charging State(12581): CHARGE_STOP 1114000344
Somewhere at 21:28 I disconnected cable due phone call, then connected it (may be several times) a minute later. At 22:19 I discovered that phone is being charged 2% above limit set (probably it reached limit at 22:12) and reconnected it again. App emerged and charge was stopped.
from batterychargelimit.
Yet more:
07-14 05:55:17.565 D/Power State(16650): ACTION_POWER_CONNECTED
07-14 05:55:18.935 D/Charging State(16650): CHARGE_FULL 1113997536
07-14 06:19:09.935 D/Charging State(16650): CHARGE_STOP 1113997536
07-14 06:19:14.270 D/Power State(16650): ACTION_POWER_DISCONNECTED
At 05:55 charge level was below limit, I connected cable then at 06:19 I found that charge level is above limit and still charges, so I disconnected cable.
from batterychargelimit.
Hey @vovodroid,
I uploaded two greatly improved versions of the app today.
I hope the changes will also fix this issue. Can you please check with latest version (1.0.1).
You can also completely disable the "state fix" in version 1.0.1, at the risk of your device ignoring the limit altogether. Check it out! :)
from batterychargelimit.
Hi,
I didn't understand - why should I disable the "state fix"? Do you mean "Enforce Charge Limit" option?
from batterychargelimit.
Precisely. In previous versions, this was the source for the rapid cycling of states that you observed. If you prefer that the app shouldn't react to your device continue charging after it modified the control file, then uncheck this. Otherwise the app will try to fight with your OS, causing permanent cycling. (However, one on/off-cycle takes now one minute after a few unsuccessful approaches.)
from batterychargelimit.
@vovodroid: To clarify it a little better: For the first test, you should keep the "Enforce Charge Limit" in place, because it seems that your device sometimes continues charging, and that's exactly what it was designed for.
However, if you encounter the cycling problem again and find it annoying, you can use the option to disable the back-and-forth. The limiting will then fail silently, and your device will charge until battery is at 100%.
from batterychargelimit.
Hi,
I run is with this option On. It was OK several cycles, but in morning phone was charged to 100%.
07-29 00:31:34.870 D/Charging State( 8338): CHARGE_REFRESH 1116311112
07-29 00:31:36.455 D/Power State( 8338): ACTION_POWER_CONNECTED ignored
07-29 00:34:08.955 D/Charging State( 8338): CHARGE_STOP 1116311112
07-29 00:34:09.675 D/Power State( 8338): ACTION_POWER_DISCONNECTED ignored
07-29 00:53:12.140 D/Charging State( 8338): CHARGE_REFRESH 1116311112
07-29 00:53:14.000 D/Power State( 8338): ACTION_POWER_CONNECTED ignored
07-29 00:56:06.645 D/Charging State( 8338): CHARGE_STOP 1116311112
07-29 00:56:07.570 D/Power State( 8338): ACTION_POWER_DISCONNECTED ignored
07-29 01:17:19.075 D/Charging State( 8338): CHARGE_REFRESH 1116311112
07-29 01:17:22.015 D/Power State( 8338): ACTION_POWER_CONNECTED ignored
07-29 01:20:06.725 D/Charging State( 8338): CHARGE_STOP 1116311112
07-29 01:20:07.545 D/Power State( 8338): ACTION_POWER_DISCONNECTED ignored
07-29 01:41:48.130 D/Charging State( 8338): CHARGE_REFRESH 1116311112
07-29 01:41:50.190 D/Power State( 8338): ACTION_POWER_CONNECTED ignored
07-29 01:44:36.280 D/Charging State( 8338): CHARGE_STOP 1116311112
07-29 01:44:37.230 D/Power State( 8338): ACTION_POWER_DISCONNECTED ignored
07-29 02:06:27.740 D/Charging State( 8338): CHARGE_REFRESH 1116311112
07-29 02:06:29.995 D/Power State( 8338): ACTION_POWER_CONNECTED ignored
07-29 02:09:11.005 D/Charging State( 8338): CHARGE_STOP 1116311112
07-29 02:09:11.620 D/Power State( 8338): ACTION_POWER_DISCONNECTED ignored
07-29 02:33:28.480 D/Charging State( 8338): CHARGE_REFRESH 1116311112
07-29 02:33:30.565 D/Power State( 8338): ACTION_POWER_CONNECTED ignored
07-29 02:36:08.220 D/Charging State( 8338): CHARGE_STOP 1116311112
07-29 02:36:09.190 D/Power State( 8338): ACTION_POWER_DISCONNECTED ignored
07-29 02:55:05.730 D/Charging State( 8338): CHARGE_REFRESH 1116311112
07-29 02:55:07.820 D/Power State( 8338): ACTION_POWER_CONNECTED ignored
07-29 02:58:12.725 D/Charging State( 8338): CHARGE_STOP 1116311112
07-29 02:58:13.585 D/Power State( 8338): ACTION_POWER_DISCONNECTED ignored
07-29 03:26:29.090 D/Charging State( 8338): CHARGE_REFRESH 1116311112
07-29 03:26:31.045 D/Power State( 8338): ACTION_POWER_CONNECTED ignored
07-29 03:29:13.410 D/Charging State( 8338): CHARGE_STOP 1116311112
07-29 03:29:16.695 D/Power State( 8338): ACTION_POWER_DISCONNECTED
07-29 03:29:17.875 D/Power State( 8338): ACTION_POWER_CONNECTED ignored
from batterychargelimit.
The last line is very interesting... seems that the monitor recognized the DISCONNECTED event, but ignored the CONNECT only one second later.
I will dig into this and think about a fix. Stay tuned!
from batterychargelimit.
I tried to fix the issue in version 1.0.2, could you please check?
from batterychargelimit.
I think I'm experiencing this rapid cycling issue on my Shield Tablet. Its charging above the limit. Went from 77% to 84% (limit set at 80%) in about 20 minutes. Filtered log attached.
alogcat.2017-08-16-12-08-49-0600.txt
from batterychargelimit.
Hi,
1.0.2 seems much better (actually good!) now. When phone reaches charge limit, I see message "service disabled" and next "service enabled" messages and charge stopped.
from batterychargelimit.
That's still not exactly how it should be, but I think it's something to work with. Comment if the issue comes up again, meanwhile I close this issue.
from batterychargelimit.
Related Issues (20)
- Pixel 6 rooted do not stop automatic HOT 2
- Realme 6 Pro battery control file
- Realme GT 5G not working HOT 1
- Not working oneplus 8pro since update to Android 12 HOT 1
- feature request: close app notification when charger is disconnected. HOT 1
- not working on poco f3 HOT 1
- Feature Request: Disable Charge Limit temporary HOT 1
- 8
- Control file for Pixel 5a 5G
- Support for FiiO M11
- Charging connection and disconnection detection HOT 1
- it works on Samsung S20 Android 13 HOT 1
- Does not work with kernel SU ? HOT 1
- Support for Xiaomi 13 (fuxi)
- Support for Poco X5 Pro 5G (redwood) HOT 1
- Error not working on redmi note 11 MIUI 14 android 13 API33
- Support for Xiaomi 12 (Cupid) HOT 1
- Supporto for Armor X9 Pro HOT 1
- Not working on Galaxy S10 5G LOS 20 Android 13
- Please support MIPad 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from batterychargelimit.