Does anyone know if it's possible to set up a Tasker profile to run in performance mode when using USB or AC power, and in balanced when on battery?
If so, could you show us how?
I looked into this briefly and he doesn't support device specific things like this. The only way it could happen is if someone wrote a plugin for tasker to do it. So a further question is if anyone knows how to do this programatically?
tahngarth said:
I looked into this briefly and he doesn't support device specific things like this. The only way it could happen is if someone wrote a plugin for tasker to do it. So a further question is if anyone knows how to do this programatically?
Click to expand...
Click to collapse
There are shell scripts in /system/etc called cpu1.sh to cpu3.sh that are responsible for performance mode switching.
Is it really that much effort to just tap the respective mode icon? That's what, less than a second work?
And just for the record, USB doesn't provide anywhere near enough power to charge the device, let alone sustain it whilst running in performance mode.
Related
I was wondering if there was a program that would allow me to turn on my phone and turn off my phone at set times. I frequently turn off my phone in the evening to prevent it from waking my family, but I frequently forget to turn my phone back on (or forget to put the ringer volume back up to audible levels). I had a suggestion in the past to use MortScript, but I don't know how to create a UI, nor do I know which registry settings I need to alter, or how to time the events. There is a smartphone edition called SleepWell, but it doesn't work on WM5 phones (I have an 8125). I was wondering if anyone might be able to direct me in the right place. Thanks.
I hope I haven't placed this on the wrong forum. Does anyone know of a program as described above or know how to write a script for Mortscript that would accomplish the above? Thanks.
I have noticed on my OPO that the application "Battery Monitor Widget" doesn't appear to have access to accurate battery information, including the size and the recharge/discharge rate. Instead you have to configure it manually for the size and tell it to estimate the discharge/recharge rate. From a bit of testing, it doesn't even appear that the OS itself has a good view of the battery, where if you have enough applications drawing enough power, and not enough power feeding the phone, it won't even show as being connected to USB power, and it will estimate if it is on AC or USB power apparently based on how much the recharge rate is.
My first question is if anybody knows if this is a software only issue, where additional hardware support needs to come in an update. Alternatively, are there any other tools that allow accurate monitoring of power state? Thanks!
ebrandsberg said:
I have noticed on my OPO that the application "Battery Monitor Widget" doesn't appear to have access to accurate battery information, including the size and the recharge/discharge rate. Instead you have to configure it manually for the size and tell it to estimate the discharge/recharge rate. From a bit of testing, it doesn't even appear that the OS itself has a good view of the battery, where if you have enough applications drawing enough power, and not enough power feeding the phone, it won't even show as being connected to USB power, and it will estimate if it is on AC or USB power apparently based on how much the recharge rate is.
My first question is if anybody knows if this is a software only issue, where additional hardware support needs to come in an update. Alternatively, are there any other tools that allow accurate monitoring of power state? Thanks!
Click to expand...
Click to collapse
I noticed the same thing. Mah shows 0 usually. I was also looking for an alternative, but i guess an update will fix it.
Change the battery monitoring setting to reverse mA. You can also manually input the capacity of the battery.
Sent from my One using XDA Free mobile app
randaddy said:
Change the battery monitoring setting to reverse mA. You can also manually input the capacity of the battery.
Sent from my One using XDA Free mobile app
Click to expand...
Click to collapse
It may just be at random, but when I set reverse mA, I found that the system wouldn't go into deep sleep while charging, which slowed down charging significantly. I'm also pondering what this actually means (the reverse mA) as this implies it has data that it is reversing in some way.
ebrandsberg said:
I have noticed on my OPO that the application "Battery Monitor Widget" doesn't appear to have access to accurate battery information, including the size and the recharge/discharge rate. Instead you have to configure it manually for the size and tell it to estimate the discharge/recharge rate. From a bit of testing, it doesn't even appear that the OS itself has a good view of the battery, where if you have enough applications drawing enough power, and not enough power feeding the phone, it won't even show as being connected to USB power, and it will estimate if it is on AC or USB power apparently based on how much the recharge rate is.
My first question is if anybody knows if this is a software only issue, where additional hardware support needs to come in an update. Alternatively, are there any other tools that allow accurate monitoring of power state? Thanks!
Click to expand...
Click to collapse
I heard that "Kitkat" has changed their policy so that any battery monitor apps have no any more rights to read the figure of battery information.
But, the solution, as per what i experience, is to download Xposed Installer, and then there is a module named "Enable BATTERY_STATS for KitKat", download and activate it. After that, any apps with battery monitor function can be executed sucessfully.
wskenting said:
I heard that "Kitkat" has changed their policy so that any battery monitor apps have no any more rights to read the figure of battery information.
But, the solution, as per what i experience, is to download Xposed Installer, and then there is a module named "Enable BATTERY_STATS for KitKat", download and activate it. After that, any apps with battery monitor function can be executed sucessfully.
Click to expand...
Click to collapse
As of the newest CM 11S build and battery monitor widget, it appears the issues have been resolved, and the battery data appears to be more accurate. This may require root however.
And there is a helper app which you need to install. As far as I recall
Send from OnePlus One using Tapatalk
In the options to save battery life there is an option to turn on a cup limiter. Is there a way to automate this? Limiting the cpu when not in use automatically would be helpful. Or does this phone implement this already? Does a program already exist to do this? Any knowledge on this topic would be helpful.
Dreadsta5889 said:
In the options to save battery life there is an option to turn on a cup limiter. Is there a way to automate this? Limiting the cpu when not in use automatically would be helpful. Or does this phone implement this already? Does a program already exist to do this? Any knowledge on this topic would be helpful.
Click to expand...
Click to collapse
As far as I know, 8 core exynos cpus use 4 power efficient cores. so in some way they apply limiters.
I think every Android lowers the CPU frequency when not used....
Yes, but when you go to battery, and max power settings, the one thing on the list that affects the time the most is the speed limiter, which shows to add like 1200 minutes every time. I'd like to just use that alone on occasion, and not be limited to 8 apps.
Why do not you try using Tasker for this?
that wont really affect anything, the CPU will automatically idle when its not performing a task or if the screen off.
Dreadsta5889 said:
In the options to save battery life there is an option to turn on a cup limiter. Is there a way to automate this? Limiting the cpu when not in use automatically would be helpful. Or does this phone implement this already? Does a program already exist to do this? Any knowledge on this topic would be helpful.
Click to expand...
Click to collapse
I use different kernel apps 3 c toolbox or kernel auditor and limmitnmine on the snap dragon model I cap my big cores normally to 1.9 and small cores to 1.4 or so. I would love to shut a few off but Samsung uses there own hotplug and most kernel apps can't do nothing with that
Maybe you could check this app
https://forum.xda-developers.com/android/apps-games/app-helix-engine-v1-0-beta-3-t3745746
Hey,
i'll go straight to the point.
When I'll lose my phone for example, I can get it's location and acces it via shell using tasker, but all of this is useless when the phone's battery reaches zero.
So I am asking - is it anyhow possible to for example limit CPU to minimum, gpu to minium (using kernel manager) or something and turning everything off just to keep the phone turned on for as long as possible?
I am not asking how to do this in tasker, Il'l do that myself. I am just asking how can I do this?
I am rooted on custom rom with Android 9.
not sure if this app works with android 9 but you can ask for suggestions in support forum of this app
https://forum.xda-developers.com/showthread.php?t=2986129
Knowing how powerful ADB is, I was wondering if it would be possible to get a more granular control of battery saving features with ADB?? By example, I think it would be cool to limit processor speed while keeping tilt to wake gesture. Right now, battery saving mode work as an all or nothing mode. I used ADB to remove Samsung bloat and now I can comfortably make it through two days (not wearing it at night) but, it would be great to go even longer.
For now, I used developer mode to disable all animations, not sure how much of an impact it have but, it's better than nothing.
I just found this post here: https://forum.xda-developers.com/t/changing-cpu-governor-with-adb.4193163/ . It was intended for use on a Note 20 phone but it still look promising. I'll try it once I get back from travelling.
Clearly, power saving mode change cpu governor, among other things, on the watch. Now, I just need to get the same governor change without all the other things.
Any luck?
One has to assume that the engineers at Samsung are doing their research and setting things up to be as reasonably efficient as possible. Overdoing it (lowering CPU too much or for too long or at the wrong time, for example) could cause unexpected issues or instability.