[App] Battery Charge Limit control file - ASUS ROG Phone II Themes, Apps, and Mods

For anyone who is rooted and wishes to use the app Battery Charge Limit, this is the control file you need to add to the settings.
1. Open Battery Charge Limit app
2. Open settings (the gear icon in the top right corner)
3. Enable "Configurable CTRL File Data"
4. Click "Configure Control Data"
5. Click "I Understand" on the Advanced Users Only warning
6. Under Set Path to Desired File, type:
Code:
/sys/class/power_supply/battery/device/smartchg_stop_charging
7. Under Set Enabled Value, type:
Code:
0
8. Under Set Disable Value, type:
Code:
1
9. Click "UPDATE CTRL FILE DATA"
I have submitted a pull request to the app developer's Github for this control file to be added to the app, but in the mean time users can manually do this to be able to use the app.

so,this is about the percentage limit or the ampere-voltage limit?

vagenrider said:
so,this is about the percentage limit or the ampere-voltage limit?
Click to expand...
Click to collapse
Percentage limit. The app (not developed by me) is designed to limit the maximum charge of the battery to keep the battery health good. Most li-ion battery degradation occurs when the battery is charged up to and/or held at 100% charge. By limiting the maximum charge to like 80% or even 90%, your battery will degrade MUCH slower that normal. The ROG Phone 2 already has a similar feature built in that you can activate, but some people might still prefer to use this app anyway.

Thank you very much! <3

Can someone confirm that this works with ROG Phone 1? I will try it asap and report back. I almost lost hope.

Works with ROG Phone 1!

You can otherwise use the built in planned charge limit feature of the phone. Just make it cover the whole day and voila.

just use this
Don't fret too much. Just use a Chargie (https://chargie.org), it works with both rooted and non-rooted phones. It costs a few bucks, because it involves external hardware, but it works like charm. It even has delayed charging like the iPhones, only much more configurable.
bluegizmo83 said:
For anyone who is rooted and wishes to use the app Battery Charge Limit, this is the control file you need to add to the settings.
1. Open Battery Charge Limit app
2. Open settings (the gear icon in the top right corner)
3. Enable "Configurable CTRL File Data"
4. Click "Configure Control Data"
5. Click "I Understand" on the Advanced Users Only warning
6. Under Set Path to Desired File, type:
Code:
/sys/class/power_supply/battery/device/smartchg_stop_charging
7. Under Set Enabled Value, type:
Code:
0
8. Under Set Disable Value, type:
Code:
1
9. Click "UPDATE CTRL FILE DATA"
I have submitted a pull request to the app developer's Github for this control file to be added to the app, but in the mean time users can manually do this to be able to use the app.
Click to expand...
Click to collapse

But this file will be specific to your phone device. For my motorola E4 I am unable to find such file. It have "status" file . I think this is the file but when I add any content in this file, it immediately overwrite by system.

Related

Low Batt Warning

???Browse to HKEY_CURRENT_USER\ControlPanel\Notifications\{A877D663-239C-47a7-9304-0D347F580408}\
Create a String value named "Default" and set its value to "Low battery warning".
Now go to Start > Settings > Personal tab > Sounds & Notifications applet > Notifications tab, select "Low battery warning" in the "Select an event" drop-down list and you can customize it.????
First of all, I cant even get started beacuase i cant find the above path. Can someone show me which directory it is located. I used file explorer and cant even locate HKEY_CURRENT_USER directory anywhere.
Please help.
You need a registry editor like Tascali Regedit or so.
But unless you don't know what exactly you are doing, don't mess with it too much. Always check and double check what you are changing. if you know nothing about registry, don't even start to mess with it.
I see.. I just want to edit the registry to remove the battery warning at 40%.
Can you show me where i should insert the string?
You wrote it already, didn't you?
I don't see what's so annoying about it, it warns me at 40 and 20% and then at 3% or so. Isn't that all right?
Zviratko said:
You wrote it already, didn't you?
I don't see what's so annoying about it, it warns me at 40 and 20% and then at 3% or so. Isn't that all right?
Click to expand...
Click to collapse
the problem is, it warns everytime, the device is turned on, so you have in germany the problem with the o2-homezone-display, which turns the device on at every cell-change

Release rk-Location Switch (1.0.3) [Updated 15 April 2008]

Here is a 'Phone location based application trigger’. Launches other applications, command lines and MortScripts and anything based on time frame and location you setup. Works on Windows Mobile Professional 5/6 (PDA with Phone) only.
Some of the possible uses have been added at second post below.
This is more advanced version of my application rk-Sleep, where you could just perform one action at one location.
rk-LocSwitch can have any numbers of locations and any numbers of actions. But please do understand that this is not a 'readymade profile application' but by configuring it properly you could make it a profile application and much more. Ultimately you can automatically customize your phone based on where you are and the time span you setup.
Also support fixed actions, actions at pre-defined time, not based on the location (This is helpfull to set up backlight 'Bright' during day hrs and 'dim' during eventing/nights)(This feature is freeware and does not expire)
Now the important thing, this is not a freeware, it is 3.99 USD for XDA-Developers.com members. The trial version runs for 15 days so that you can test it and see if it satisfies you.
Update 1.0.6
Support for undefined/unknown location actions added.
Application now by default starts in minimized mode(not the sys tray mode)
Update 1.0.5
Error while 'Testing' the actions is rectified.
Update 1.0.4
Option to Show/Hide the Tray icon added
Debug support added.
Cosmetic changes done.
Update 1.0.3
Support for hide/show 'Un-Defined' location icon.
Bug fixes
Update 1.0.2
Support command line tags, eg Application could automatically send information such as LocationName, LAC, CellID by using the command line tags <LocationName>, <LAC>, <CellID. By this you could even send sms based on your location Entry/Exit along with location info.
Application can update registry with the current Location name, LAC and CellID.(HKCU\Software\rk-LocSwitch). Now your custom application can access the location information!
New menu added to copy TowerIds from one location to other.
New menu added to copy actions from one location to other.
New menu to force saving of the configuration data.
Bug fixes
Setup:
Install the application.
Run the application rk-LocSwitch from programs for the first time from the programs menu, after which the application starts automatically after soft resets.
A new task bar icon will appear in the task tray, click it to launch the application(application runs hidden, this is the only way you can access the UI to set it up)
First tab in the application is ‘General’, the information mostly read-only; you can specify the polling time (in minutes) and enable/disable the application.
‘Locations’: lot of information here. First you create a new location from the top part of the screen.
Location name is just a name such as ‘My Home’, ‘Office’ etc
Choose a icon ‘which would be displayed on the top notification bar’(you can have custom icons, just add the icons to the ‘\Icons’ folder under \Programs\rk-LocSwitch)
Check the box ‘Notify’(when ever you are at known location, a icon would show up on the title bar)
Specify the time frame such as 08:00 to 18:00(day schedule) or 22:00 to 06:00(for night schedule)
Specify if the location is of 'Undifined Type', If undefined then time frame settings are ignored and LocationIds are removed automatically.
Click OK to save this location
Add the current tower id displayed to the list, you could have multiple towers (if the location has interference from multiple towers or if you have say multiple ‘Places’ put under same location. Such as you want to configure the location ‘Office’ at two different physical locations but you want to have similar actions to perform.)
Now go to the ‘Actions’ button
You have ‘Entry’ and ‘Exit’ actions. You can add multiple actions for each action type. You can even order then ‘up’ or ‘down’. Use the ‘Action’ menu for additional commands such as ‘test the action’.
Next tab is 'Fixed Actions' here you could setup actions independent of 'Location' meaning these actions takes place irrespective of 'Locations' Useful for setting the backlight of the device.
Next tab is log where each attempt based on the polling time is logged. You can change the log action to log all, location change (Actions) only or none. Once you understand the concept put it to ‘None’(but if you think that something is not working then switch the log to all and investigate)
Last tab about: which is basically the registration module and the version info
Important notes:
Notes: if you want to configure home day and home night, you must have two locations setup such as ‘Home Day’ and ‘Home Sleep’ have the time frames carefully set e.g. 08:00 to 22:00(Home Day) and or 22:00 to 06:00(for night schedule). Do not overlap the time frames!
Keep the polling time as large as possible, unless you need real time response.(although I found keeping the polling to minimum (=2 minutes) did not make any noticeable difference to battery usage!. But test it out.
Do not forget to configure the ‘Entry’ and ‘Exit’ actions properly. Enter and exit actions generally should be cancelling each other (i.e. if you switch on flight mode on entry, make sure you have flight mode off on exit)
System is real time( ± Polling Time) , so if you are at home with flight mode activated and if you leave the home at mid night phone would switch back on.
If you really want to exit the program, use the right menu ‘Options’ and choose ‘Save & Exit’
When you start the application(not while activating the rk-LocSwitch) make sure the phone is not in flight mode
More importantly this is a ‘Switcher’ so I do not supply any command line applications to do your custom tasks; they are available in this site and over the internet. You are welcome to link in this thread so that it can be easily accessed by other users. But if some customization what you want is not available then you can make a request, and I will do my best to find one or built it myself.
Check in this thread for more pluggins
Note: This application requires Compact Framework 2.0
You need compact framework 2.0 installed inorder to run this application. The compact framework is already part of WM6, so if your device is WM6 skip this step. But most of the WM5 devices do not have this update. So you must download here and run the installation on your desktop (then active sync to update your device). Only after completing this step install the application.
Thank you all for the support.
Purchase
Download from here
Possible uses
Switch off Phone or Sound while at home during sleeping hours.
Keep backlight at low setting while inside house or office. Increase the backlight while outside house or office.
Make a alarm function say if you are at office play at mp3 at 5:00 PM
Wake you up at particular destination specifically travelling in bus or train where you travel regularly.
Load your favorite theme/wall paper as specific locations.
Send SMS on entry or exit of a location.
Will be updated…..
If you have some more ideas I am glad to update this list.
Flight Mode On/Off utility
Here is the command line flight mode on/off utility.
Command lines to switch on and off
Code:
\Program Files\rk-FltMode\rk-FltMode.exe on
\Program Files\rk-FltMode\rk-FltMode.exe off
\Program Files\rk-FltMode\rk-FltMode.exe toggle
If you are using rk-OSR to check mail you could enable and disable based on your location using the following command line
Code:
"\Program Files\rk-OSR\rk-OSR.exe" Enable --> Enables the rk-OSR
"\Program Files\rk-OSR\rk-OSR.exe" Disable --> Disables the rk-OSR
rk-TSR Support
rk-TSR a Theme Switcher, You can load a pre-set theme/wallpaper based on your location!
Code:
\program files\rk-TSR\rk-TSR.exe enable
\program files\rk-TSR\rk-TSR.exe disable
\program files\rk-TSR\rk-TSR.exe “\storage card\rkAzulBlue.tsk”
(For command line the theme must be listed in rk-TSR)
I am planning to add following new features in the near future.
Add fixed actions at specified time irrespective of the location: This might help to set back light ‘bright’ during day and low during night.
Allow actions during the device status change such as wifi connected/disconnected, active sync done, soft reset etc
If you have any specific request please go ahead let me know.
rk-bk-Light a backlight command line switcher
Here is the command line backlight switcher
Code:
[/FONT]
[FONT=Verdana]\Program Files\rk-bk-Light\rk-bk-Light.exe 2[/FONT]
[FONT=Verdana]\Program Files\rk-bk-Light\rk-bk-Light.exe 10[/FONT]
[FONT=Verdana]
Do not know if it works on all devices. But works on hermes
Note: This application requires Compact Framework 2.0
You need compact framework 2.0 installed inorder to run this application. The compact framework is already part of WM6, so if your device is WM6 skip this step. But most of the WM5 devices do not have this update. So you must download here and run the installation on your desktop (then active sync to update your device). Only after completing this step install the application.
Download from here
rk-LocSwitch Update 1.0.1
Fixes and enhancements
Added support for fixed actions
You can add any number of fixed schedules and add any number of actions on each such schedule(e.g. to set the backlight low during night and bright at day)
These fixed schedules not specific to the locations and will occur at the time specified.
Does work even if the application expired!(it is a freeware, only location service would not work)
Better file browser added, now you do not have to key in the command line.
Bug with the system not clearing some of the old notifications fixed.
Battery use better that before (almost makes no difference on the battery use!)
If you are upgrading from the old version please uninstall the old version and delete any existing notification manually (delete any notification with name ‘rk-LocSwitch’). Then install the new version.
Also added new component rk-BackLight to support setting backlight on command line.
rk-Calendar-Update: Convert all day Calendar events to time spanned events
To convert all day Calendar events to time spanned events automatically so that you don’t get reminders at midnight!
Use this utility if you are entering many appointments during day as 'Full Day Events' and difficult to manage it. Otherwise you can just run this utility once manually.
Read more about it here
Code:
\Program Files\rk-Calendar-Update.exe “08:00” “22:00”
Updates all your 'full day events' to fixed time event with specified time span.
Hmm, No one has any comments?
I really like the idea. Unfortunately, this does not work on CDMA.
tytnguy said:
Hmm, No one has any comments?
Click to expand...
Click to collapse
Wasn't there a topic about this app with many comments like adding vibration on/off? I'll try this app with hermes.
EDIT: Oh this is a new app (update of rk-sleep)
Guys, can this software send an sms to a predefined no. whenever the Tower ID changes.
mushipkw said:
Guys, can this software send an sms to a predefined no. whenever the Tower ID changes.
Click to expand...
Click to collapse
It can not send sms as it is now, if you find exe, or mortscript which could send an sms then you could use this program.
This program is like a trigger which calls other executables based on location, so as long as you can point to right executable then you are good.
But let me know if you are not able to find a executable to send sms, I might be able to build one for you.
Hi TyTnGuy,
is it possible to get the geographic Coordinatas wich assigend to the Tower ID somewhere in the www?
gnu0815 said:
Hi TyTnGuy,
is it possible to get the geographic Coordinatas wich assigend to the Tower ID somewhere in the www?
Click to expand...
Click to collapse
I am not aware of any source with the Geographic Coordinates, But with that info lot of new ideas though!
tytnguy
What kind of battery indicator app do you use?
Is it a standalone battery indicator? or part of other app?
Really nice.
Im looking from a very long time for an app. which can send an sms to a predefined no. But I couldn't find any such. I would be grateful if you can develop such app.
Thanx.
Looks realy good. Will test this on the HTC Trinity.
Keep up the good work!
mushipkw said:
Im looking from a very long time for an app. which can send an sms to a predefined no. But I couldn't find any such. I would be grateful if you can develop such app.
Thanx.
Click to expand...
Click to collapse
I am working on your request, should be there in a day or two.

Res issue & getting started +

Hi folks,
after long searchs, compares, thoughts and headaches, my decision went for a brand new Xperia Z5c. It is my first ever just-touch phone.
I am on Android 6.0 Marshmallow now.
I guess most of you have gained some experience already, so I would be glad if someone could give me some advices on my issues:
1. I would like to have more grids on home screen, smaller icons, spaces and texts, as well as applied to all apps. Just would like to "increase" the "resolution". that "small" from settings is not small enough for me. I can reduce the icon sizes by using the Holo launcher though, but still the apps are in big sizes, like calendary, emails, status bar, settings etc.
2. I was told by the seller that I should better avoid using the quick charger, but he seemed for me like not sure. If sony offers that, why should it be bad? Is that true?
3. When I start the radio it does not end, even I try to close it through the right app button (where all the running apps are listed), it closes there but still runs in background. when I put off the ear plugs, and plug it in again, it still continues with radio. Only restarting the phone helps. What can I do that I can run it normally and close whenever I want? Or what could be the reason for that problem?
4. What simple music player can you suggest for me?
5. is it possible to record a video with HD (ready) instead of FullHD with 60Hz ? How?
Thank you in advance!
1. You can try change the dpi. If adb is installed on your computer, then connect phone to pc. Make sure USB debugging is turned on in Developer Options. Open a command window in the adb folder, and type "adb devices". If you see a device listed, you are good to go.
Then type adb shell
Then type wm density 260 or any value less than 320 (which is the default dpi). The lower, the smaller everything becomes. Then restart. You can always revert back to 320 dpi through the same process.
2. Use the quick charger
3. There is a switch off button in radio and that must be used
4. Phonograph
5. Swipe up in camera till you get to "Video". Then tap the gear icon at the bottom right. Select any resolution you want
Sent from my E5803 using XDA-Developers mobile app
Sadman Khan said:
1. You can try change the dpi. If adb is installed on your computer, then connect phone to pc. Make sure USB debugging is turned on in Developer Options. Open a command window in the adb folder, and type "adb devices". If you see a device listed, you are good to go.
Then type adb shell
Then type wm density 260 or any value less than 320 (which is the default dpi). The lower, the smaller everything becomes. Then restart. You can always revert back to 320 dpi through the same process.
2. Use the quick charger
3. There is a switch off button in radio and that must be used
4. Phonograph
5. Swipe up in camera till you get to "Video". Then tap the gear icon at the bottom right. Select any resolution you want
Sent from my E5803 using XDA-Developers mobile app
Click to expand...
Click to collapse
Sadman Khan! Thank you ALOT for the help, and quick and direct reply!
For these 2 points:
1. dpi is ok now, worked like a charm, icons and texts on apps got smaller as I wished. so simple! Since I can not set grid size and reduce the spaces between the icons with Xperia Launcher, is it ok that I am using Holo Launcher (which is probably old? I am careful in installing apps to avoid high memory usages and slow down) just because of that? (I admittedly do not know other way, and I don't know whether it is normal. just pity that the weather widget is not so beautiful anymore, but is still ok.)
5. I didn't write correct, excuses. I mean: I can use 60 frames per second only on FullHD, I wished I could use for normal HD also 60. On the camera app it is just for FullHD available. What app can you suggest me to make use of it on a one lower resolution if there is no way with the current app? (I prefer more frames to resolution, in order to save a bit from file sizes.)

Preventing the phone from killing background apps

Hi, this may have been asked before, but I can't seem to find a straight answer for it:
I've got a Huawei Mate 10 Pro. The damn phone keeps killing apps running in the background, no matter how I configure the "Launch" menu. Is there any way to prevent the phone from killing apps running in the background? Even the 'Lock' button on the apps in the app manager screen doesn't prevent that from happening!
It's worth mentioning that my phone is not rooted, nor is going to be any time soon, since it seems so much riskier to root this phone than it is with other phones.
.......delet.....
Go to settings - battery - launch and find the app you don't want to be terminated then change to manual mode(ensure that you enable the 3 options especially run in background)
Or go to special access - ignore Battery optimization - select all apps then scroll to the app you want not to be terminated, tap on it, select allow then click OK and exit
zayidhs said:
Go to settings - battery - launch and find the app you don't want to be terminated then change to manual mode(ensure that you enable the 3 options especially run in background)
Or go to special access - ignore Battery optimization - select all apps then scroll to the app you want not to be terminated, tap on it, select allow then click OK and exit
Click to expand...
Click to collapse
Amazing, thank you very very much!!
Honestly, the power settings on this phone are horrible!
You're welcome
A lot of settings need to do.
https://consumer.huawei.com/en/support/how-to/newbie-guide/en-us00428704/

How To Guide Set Battery Charge Limit

Hello,
It's quite simple, but has a tradeoff: You cannot use the phone during the process because the method only works with the menu open (you can turn off screen, obviously)
Steps:
1: Go to phone dialer and dial *#899#
2: Tap on "manual test"
3: Tap on "charge and discharge mode"
4: Tap on "charge"
5: Set the desired % and tap on START
Lock the screen and enjoy, phone will stop charging at the percentage you selected
Thank you, worked like charm
Polo4413 said:
Hello,
It's quite simple, but has a tradeoff: You cannot use the phone during the process because the method only works with the menu open (you can turn off screen, obviously)
Steps:
1: Go to phone dialer and dial *#899·
2: Tap on "manual test"
3: Tap on "charge and discharge mode"
4: Tap on "charge"
5: Set the desired % and tap on START
Lock the screen and enjoy, phone will stop charging at the percentage you selected
Click to expand...
Click to collapse
You could also use Max Hz but requires adb
Why should I set a limit?
Krecik_Cygan said:
Why should I set a limit?
Click to expand...
Click to collapse
For your battery take longer to start dying super quickly

Categories

Resources