Can anyone tweak COC to use less battery power - Android Q&A, Help & Troubleshooting

Hello
This is a prob faced by all coc users....it uses too much power and battery gets hot.....can anyone change its coding or something changing its use of GPU AND GNU or whatever to less battery drain?
Sent from my LG-F160L using Tapatalk

I doubt anyone will reply because:
- Clash of Clans is closed source and seems to be obfuscated also, so editing is a pain and may even violate its licence (didn't read it)
- Trying to optimize a game is super hard even if you would have the source code in your hands, especially if the game does a lot (calculate, grapics, network and others)
So best would be to try and get support from the COC developers directly.

MyPictures said:
I doubt anyone will reply because:
- Clash of Clans is closed source and seems to be obfuscated also, so editing is a pain and may even violate its licence (didn't read it)
- Trying to optimize a game is super hard even if you would have the source code in your hands, especially if the game does a lot (calculate, grapics, network and others)
So best would be to try and get support from the COC developers directly.
Click to expand...
Click to collapse
Then perhaps anyone can develop a module to allow an app to only use a limited amount of battery energy coz some person tested coc's use of energy in terminal emulator. Before coc was launched the cpu usage was 2-3% and battery drain was merely 1% per 2 mins max but when it was launched cpu usage rose up to 30% and battery drain was 3% per 2 mins minimum! Can anyone develop or tell me a module that lets an app only use a specific amount of cpu and allows only specific amount of battery energy?
Sent from my LG-F160L using Tapatalk

tanveer7652 said:
Then perhaps anyone can develop a module to allow an app to only use a limited amount of battery energy coz some person tested coc's use of energy in terminal emulator. Before coc was launched the cpu usage was 2-3% and battery drain was merely 1% per 2 mins max but when it was launched cpu usage rose up to 30% and battery drain was 3% per 2 mins minimum! Can anyone develop or tell me a module that lets an app only use a specific amount of cpu and allows only specific amount of battery energy?
Sent from my LG-F160L using Tapatalk
Click to expand...
Click to collapse
If you have a rooted device, you can manually set the maximum available CPU level by yourself.

orville87 said:
If you have a rooted device, you can manually set the maximum available CPU level by yourself.
Click to expand...
Click to collapse
Yes im rooted with xposed....canbu explain how to do that?
Sent from my LG-F160L using Tapatalk

tanveer7652 said:
Yes im rooted with xposed....canbu explain how to do that?
Sent from my LG-F160L using Tapatalk
Click to expand...
Click to collapse
You could use an app like Kernel Adiutor for example. It even has a Tasker plugin, so you are able to set the maximum CPU frequency to a desired maximum value if you open COC.

Related

how and why to overclock (toms hardware article

http://www.tomsguide.com/us/overclock-android-device,review-1762.html#xtor=RSS-998
Opinions from people who really know? I can't imagine that overclocking increases battery life.
It doesn't. At least from my understanding. In fact as I understand it running at higher clock speeds would decrease your battery life no? I usually under clock, so...
Sent from my SGH-I777 using xda premium
The theory is that overclocking allows you to complete processes quicker, which in turn allows the processor to go back to a idle/deep sleep faster. In practice it doesn't really work that way though.
ryude said:
The theory is that overclocking allows you to complete processes quicker, which in turn allows the processor to go back to a idle/deep sleep faster. In practice it doesn't really work that way though.
Click to expand...
Click to collapse
doesn't the increase in voltage also come into effect?
They did talk a little about undervolting to increase battery life. Personally I don't worry about it. I'm not using my phone to sort out heavy algorithims at the moment, so running how it does is fast enough for what I use it at. Just found the article interesting.
K Rich said:
doesn't the increase in voltage also come into effect?
Click to expand...
Click to collapse
They say the undervolting on lower clocks should balance out the higher voltage on overclocks.
stalked_r/t said:
They did talk a little about undervolting to increase battery life. Personally I don't worry about it. I'm not using my phone to sort out heavy algorithims at the moment, so running how it does is fast enough for what I use it at. Just found the article interesting.
Click to expand...
Click to collapse
Undervolting rarely makes a difference on mobile SoC's, but on the desktop/laptop CPUs you can really save a ton of power with undervolting and underclocking.
Why to overclock and understand it?
Here is a good reason to know what you are doing..
and the battery avg's lasting at least through the day, but most of the time, I have a charger near me...
EDITED: because it won't accept my screenshots HTML Probably cause I have n00b status on this account name.
AnTuTu Benchmark v.2.8
Total Score: 7446
RAM: 1201
CPU Int: 2264
CPU Float: 1767
2D: 295
3D: 1148
Database: 450
SD W 11.8MB 118
SD R >50MB 203
1600mhz
2012-05-23 18:17
You can view this SN here: Screenshot
Fluxi Kernel/My own OOM settings/AOKP/my own XXTweaker settings
The article says its not the actual overclocking that is saving battery life. When you put SetCPU on your phone not only can you overlock but you can underclock and set different voltages. I'm not 100% sure how the voltages play into it but you can set the processor to run at really low speeds during certain acts ei. when the screen is off, or any other time you don't necessarily need alot of power. That's and I changed all the voltages (I got them from a post where the guy knew what he was doing and tested them). I get almost 2 days moderate browsing, apps and text. If I talk alot or use my hotspot I only get 1.5 days. It is a little time consuming to get everything just right but when you do you really see it.
icyhandlz said:
The article says its not the actual overclocking that is saving battery life. When you put SetCPU on your phone not only can you overlock but you can underclock and set different voltages.
Click to expand...
Click to collapse
This isn't a SetCpu feature there are other programs that can do this as well. It just so happens SetCpu has it built into the program. I bought SetCpu back in my Atrix days and loved it so it does work great for a simple tuning program.
Sent from my SGH-I777 using Tapatalk 2
Many of the kernels these days have their own tweaks and mod apps as well
Sent from my SGII AOKP Fluxi i777 running Beastmode OOM using Xparent Sky Blue Tapatalk 2
I'm running a kernerl and a custom ROM that allows me to underclock and overclock.
I tried it out both ways and the battery lasted for almost the same amount as on the stock option. As I tend to play games a lot on my phone, the underclocking ran into some issues with stuttering and sometimes force close of a couple of games.
Personally, I've never been a big fan of either .

Link between temperature and over using of CPU ?

Hello,
Do you think that the SG3 warm up because CPU is over using by process ?
because i play with "Quest and sorcery" and the SG3 warm up (by using 3G for one part ), but it doesn't a heavy user of 3D.
Do you think it doesn't necessary to use all the 4th Core ?
And do you think it can be fix by an update of ICS or it must be by a better coding of applications ?
Thanks
Usually apps do not use all 4 cores. Games usually have up to 3 threads; Graphics, Player-Interaction/Map and AI.
However your phone is running more than only the game simultaneously so the 4 cores do help.
3G, depending on your network signal, creates noticeably heat.
Is it really that bad or are you just wondering?
I'm sure there is potential to reduce the CPU-usage of the systems (there are experimental patches out there) but 99% of what you are experiencing is either the app or it's requirements.
Thanks,
I just wondering.
But i found the SG3 is too much warm (up to 53°C, 2 or 3 times and medium is 20-31°C ). and i want to know if i must wait for samsung/google or the authors of apps for a solution.
OR if i'm damned, change my phone ( but i think all is normal a this point)
bye

[Q] Xperia P - Update Rooted Device

Hello. I have an Xperia P. I will root my phone but stay in the stock rom. Just need to gain the admin access. If Sony will publish a new update, can i update my rooted phone? Or will it be broken or brick?
If you did not unlock the bootloader... But you will lose root.
Sent from my LT22i using xda premium
AndroidNoob69 said:
If you did not unlock the bootloader... But you will lose root.
Sent from my LT22i using xda premium
Click to expand...
Click to collapse
i saw you use cwm touch 5 in your signature can you give me the link pls
Global_ said:
Hello. I have an Xperia P. I will root my phone but stay in the stock rom. Just need to gain the admin access. If Sony will publish a new update, can i update my rooted phone? Or will it be broken or brick?
Click to expand...
Click to collapse
If you just root without unlocking the bootloader,
Yes you can receive official updates from Sony.
The thing is NXT series can attain root without unlocking the bootloader also.
But if you unlock your bootloader and try to receive official updates, you may brick your phone !
Sent from my Xperia U using xda app-developers app
garvitdelhi said:
i saw you use cwm touch 5 in your signature can you give me the link pls
Click to expand...
Click to collapse
I googled 'recoverx' and downloaded it. Its simple and easy to install recovery for (most) phones.
Remember to press thanks. Its a click away!
Sent from my LT22i using xda premium
Thank you all. I rooted my phone. However, i can't find the settings for cpu and gpu. Additionally, does this rooting process harm the security of my phone, my passwords etc. ?
Global_ said:
Thank you all. I rooted my phone. However, i can't find the settings for cpu and gpu. Additionally, does this rooting process harm the security of my phone, my passwords etc. ?
Click to expand...
Click to collapse
Of course not! Millions of people rooted their phones! I am not sure what are you talking about for the cpu and gpu settings
Sent from my LT22i using xda premium
AndroidNoob69 said:
Of course not! Millions of people rooted their phones! I am not sure what are you talking about for the cpu and gpu settings
Sent from my LT22i using xda premium
Click to expand...
Click to collapse
I mean overclocking or some editing for the graphics. I want to decrease the work of cpu and make the phone more fast.
Global_ said:
I mean overclocking or some editing for the graphics. I want to decrease the work of cpu and make the phone more fast.
Click to expand...
Click to collapse
To overclock you need a kernel that can be overclocked.
The device may then be slightly faster, and will drain the battery much faster, and possibly damage.
Realy, this is not the phone for gaming, you can buy a better one for gaming (not that much better) for about $250 from China.
What you can do, it try to disable some feature you don't use or replace some apps with mods, for less lag and better battery life, or try one of the ROMs that are out there.
ChikeD said:
To overclock you need a kernel that can be overclocked.
The device may then be slightly faster, and will drain the battery much faster, and possibly damage.
Realy, this is not the phone for gaming, you can buy a better one for gaming (not that much better) for about $250 from China.
What you can do, it try to disable some feature you don't use or replace some apps with mods, for less lag and better battery life, or try one of the ROMs that are out there.
Click to expand...
Click to collapse
China.... It explodes in a day
Sent from my LT22i using xda premium
ChikeD said:
To overclock you need a kernel that can be overclocked.
The device may then be slightly faster, and will drain the battery much faster, and possibly damage.
Realy, this is not the phone for gaming, you can buy a better one for gaming (not that much better) for about $250 from China.
What you can do, it try to disable some feature you don't use or replace some apps with mods, for less lag and better battery life, or try one of the ROMs that are out there.
Click to expand...
Click to collapse
I don't want games. I just need better battery life and less lag. That's why i want to decrease the work of cpu for graphics.
Global_ said:
I don't want games. I just need better battery life and less lag. That's why i want to decrease the work of cpu for graphics.
Click to expand...
Click to collapse
There is that "Force GPU rendering" in developer options, you won't see much saving from it.
Better identify what is causing drain that you can give up, and disable it.
What kind of battery life you have now, standby and screen on?
ChikeD said:
There is that "Force GPU rendering" in developer options, you won't see much saving from it.
Better identify what is causing drain that you can give up, and disable it.
What kind of battery life you have now, standby and screen on?
Click to expand...
Click to collapse
I lasts one day with minimum usage. I need at least two days. And in the dialer there is a lag that can make me crazy easily.
Global_ said:
I lasts one day with minimum usage. I need at least two days. And in the dialer there is a lag that can make me crazy easily.
Click to expand...
Click to collapse
I use dialer and phone from [ JB ] [Apps ] [P,U,Go,Sola! ] Dark Themed Xperia Apps it may have a little delay when first oppened, the call log is laggy in portrait modenot much to do about it, but no lag when making or receiving a call. It also has speed dial and the phone has call recording.
"minimum usage" we can't compare.
My today stats are, 60% drain for a day and 7 hours, wifi and BT on, 3G data off,, screen on 1 hour 20 minutes, and 10 minutes call time, apps running viber, facebook and yahoo messenger.
I'm with The Dark ROM, and with stamina mode you can get over 3 days without charging.
+ use Greenify from Play store. It is really good app. for better battery life.

[Q] reccomended Rom, kernel, mod or configuration for best battery life

hello everybody
the question is simple..... i have a E790 and i want a Rom, kernel, mod or configuration for best battery life... any suggestions?
Slick V3 plus MEs kernel. Lower min clock speed and use badass governor. I've never had anything better. I'm currently using MEs EG8 ROM, which I like better, but battery life is slightly less then when I used Slick.
Sent from my LG-E970 using XDA Premium 4 mobile app
x-geo said:
hello everybody
the question is simple..... i have a E790 and i want a Rom, kernel, mod or configuration for best battery life... any suggestions?
Click to expand...
Click to collapse
Best configuration for extended battery life = power off when not in active use.
Not trying to be a jerk here, but while stating that question is simple, the answer most certainly isn't. There are a huge number of factors that play into battery life, and you haven't provided any info at all to us to provide good answer.
The answer depends on how you use the device. Do you need extended idle time but not high performance? underclock, undervolt, freeze all your background apps. Do you have lots of stuff running in the background? Try greenify paid with xposed features. Do you want the most possible screen on time? drop your brightness as low as you can stand it. Run in Airplane mode. Are you in a crappy service area? Turn off cell radio and use Wifi only.
We don't know what you need for connectivity, or how you use the device, or what apps you run, or anything else. We need tons more info to try to chase battery life. We don't know what will constitute "acceptable" performance, to you, when down-tuning processor speeds and brightness and things. These are all things you need to experiment with to find what works best for you.
In general, I've found that for my use-case, the new 4.3 ROMs are marginally better on battery life than prior versions. I typically get about 4 hours screen on time, with around 20 hours up-time, and minimal phone calls (15min per day or so) and end up having 15-20% battery left when I put the phone on the charger. In moderate use, I look for wakelocks to be roughly twice my screen on time. I don't run much processor intensive stuff, the majority of my awake time is spent at minimum clock speed.
Min screen brightness
x-geo said:
hello everybody
the question is simple..... i have a E790 and i want a Rom, kernel, mod or configuration for best battery life... any suggestions?
Click to expand...
Click to collapse
Min screen brightness, lower timeout, eco mode, task killer, data off and airplane mode at the office (or school or whenever you use "silent mode" instead)
endeavor2908 said:
Min screen brightness, lower timeout, eco mode, task killer, data off and airplane mode at the office (or school or whenever you use "silent mode" instead)
Click to expand...
Click to collapse
Be very careful with task killers. If you try to kill stuff that auto restarts, you will end up causing battery draining start / kill loops. In general task killers haven't been necessary since gingerbread.
Sent from my Optimus G using Tapatalk 4
dandrumheller said:
Be very careful with task killers. If you try to kill stuff that auto restarts, you will end up causing battery draining start / kill loops. In general task killers haven't been necessary since gingerbread.
Sent from my Optimus G using Tapatalk 4
Click to expand...
Click to collapse
As stated before, the 4.3 roms seem to have better battery life then the previous versions.
Certain apps can help with battery life as well. "Tasker" can be setup to disable functions when not needed.
"SetCPU" can be used to setup profiles to change min/max frequencies and change governors when certain conditions are met... this can also be done with Tasker but requires a good understanding of Tasker functions.
"Greenify" is also a good app. It will hibernate apps that you choose. This can prevent certain apps from running in the backround until you actually use them.
Turn off animations
Turn off animations and transitions, keep the minimum amount of widgets and location services from social apps
Kernel Confusion
Dear Concern,
m using AT&T LG Optimus G (e970), i just rooted my phone and unlocked my bootloader. the confusion m having ritenow is
m about to install the new custom rom in my phone but m confused about the kernel thing that ppl used to talk here .. my current software information is
Android Version :: 4.1.2
Kernel Version ::: 3.4.0
Software Version : E97020J
Can anyone guide me if i need to flash kernel while installing the custom roms *4.4.2*, and what are the risks?
is it necessary to flash kernel or not ??
Regards.
Moiz
Its not necessary to flash separate kernel..custom ROMs come with embedded kernels sometimes modified from existing kernels,such as mizry's AK kernel...flashing separate kernels are optional
Sent from my LG Optimus G using XDA Premium 4 mobile app

[Q] Huge display consumption

Hi ! Is it normal that the display to consume so much energy ?
I still have this amount of battery cuz i haven't use it,but yestarday with open 3g and whatsapp i got only 8-9 hours of use. Is it normal ?
sprite00 said:
Hi ! Is it normal that the display to consume so much energy ?
Click to expand...
Click to collapse
Normal is as normal does, it all depends on what your doing. If your not using cpu intensive tasks then yes I would expect the screen to consume the lions share of the battery.
Sent from my GT-I9300 using Tapatalk
ghostofcain said:
Normal is as normal does, it all depends on what your doing. If your not using cpu intensive tasks then yes I would expect the screen to consume the lions share of the battery.
Sent from my GT-I9300 using Tapatalk
Click to expand...
Click to collapse
All i use is Facebook,Whatsapp,music and little gaming,normal to high usage.I'm asking all of those because i bought it second hand,not from store. Somebody else ? Other opinions ?
sprite00 said:
All i use is Facebook,Whatsapp,music and little gaming,normal to high usage.I'm asking all of those because i bought it second hand,not from store. Somebody else ? Other opinions ?
Click to expand...
Click to collapse
If you use your phone as you say here then as ghostofcain says, yes your screen usage will be the highest, if you don't use your phone much then Android OS should be the highest.
If u wan ur battery to last longer, set the brightness manually. Don't use auto brightness. And dun go to places with low signal. Try to use wifi too. Basic battery saving tips.
Sent from my GT-I9300

Categories

Resources