crazyboyfeng / accsettings Goto Github PK
View Code? Open in Web Editor NEWSimple UI for Advanced Charging Controller
License: GNU General Public License v3.0
Simple UI for Advanced Charging Controller
License: GNU General Public License v3.0
Just as it is already done with the battery information. I currently use a personal script on Termux to see this. It needs bc installed and the logic only works if the charger has enough power to charge the battery and power the phone.
charger.txt
I have oneplus 9rt ColorOS 12 (Android 11) sometimes the charge resumes after idle mode and I pay attention to this after charging to full, please add an alarm/notification to the application when charging/discharging above and below the set values
There is an app named AccA: https://github.com/MatteCarra/AccA
This AccA app has a feature of setting schedule. Though I find this app buggy, I think this scheduler option might be helpful for many of the users of ACC Settings. Because in the daytime usually we need faster charging and at night we need charging as slow as possible to keep the phone plugged overnight.
Your app is awesome already. Please take my suggestion under your consideration.
I am documenting this for now and then take time to see how acca
handles it, or if it has been discussed in any previous issues. If not, submit it for discussion.
cooldown_custom
file string input or options? options from where?apply_on_boot
and apply_on_plug
string input or options? options from where?reset_batt_stats_on_pause
and reset_batt_stats_on_unplug
what settings do they affect?max_temp_pause
necessary?max_temp
is set, acc
will loop to detect if it is higher than that value and then pause charging. Then setting the duration of loops seems to be meaningless.max_charging_current
and max_charging_voltage
file string input or options? options from where?lang
is meaningless for front-end.Since your app contains acc bundled is it required to install acc manually or your app will install it automatically?
Dear dev,
I really appreciate all the work you put into ACCSettings. But as a user of your app I must say that I didn't know I was outdated until I checked GitHub. I think I will not be alone with this lack of knowledge about the updates of your app.
So please, would you add an in-app updater (with notification support that informs user of an update) for your app? It would allow users to use outdated versions much less often :)
In appreciation for your work,
Sir Henry
Every new pre-releases is build 2022-01-17.
What is the current status of this app? Is the development stopped? It hasn't received any update for a long time.
This will block:
runBlocking{
withContext(Dispatcher.Default){
val job = com.topjohnwu.superuser.Shell.sh("echo test")
val result = job.exec()
val output = result.out
println(output)
}
}
All Dispacther
except Unconfined
have the same effect.
The reason seems to be that shell job created in sub-threads (coroutines) are not available.
At the moment I'm not sure if this is a bug or if I'm using it in the wrong way. I'll take the time to look into this later. It has taken me too long.
The current solution is simple: first call the shell once in the main thread before the coroutines to generate the cached shell:
runBlocking{
Shell.sh().exec()//Or before runBlocking
withContext(Dispatcher.Default){
println(Shell.sh("echo test").exec().out)
}
}
It seems to me that, currently, this APP only has dark theme. This is inconvenient when the device is running under light theme. This is probably the case for E-Ink devices.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.