ksmd process high CPU usage and draining battery - Xperia Z3 Compact Q&A, Help & Troubleshooting

What is ksmd and why it is using hugh cpu usage and draining the battery?
My device is running 6.0.1. No Xposed, no init.d and no tweaks. Only Lspeed is installed that increases performance and battery life. I'm unsure if it affects ksmd thing.

Related

[Q] battery life not improving with undervolt on Setiron reoriented kernel

I have been using setiron's reoriented kernel for awhile now with the Voltage control app set at -75mV for 100, 200, & 400mhz and -50mV for all other frequencies. I am not having any stability issues and the voltages are sticking after reboot. However, I was expecting a pretty significant increase in battery life due to the undervolting and I have seen next to nothing. Battery life is not bad by any means but in real world use is pretty comparable to what I was getting at stock voltage.
people seem to be reporting really big increases in battery life, so I'm a little confused. have I not UV'd by enough? if that were the case I would expect to see at least some battery improvement.
I wiped battery stats/recalibrated the battery when I flashed. I do have BLN enabled, but my understanding is that this causes a really small amount of battery drain. any thoughts?
How much % of battery you loose after night|?
while idle with the screen off (background data enabled) I lose about 1-2% per hour. I lost 10% overnight most recently and I was asleep for 7 hours. that is about the same that I was getting at stock voltage.
all i can sya, is thst you losing not many %
tehsam said:
while idle with the screen off (background data enabled) I lose about 1-2% per hour. I lost 10% overnight most recently and I was asleep for 7 hours. that is about the same that I was getting at stock voltage.
Click to expand...
Click to collapse
If you are in a weaker signal area, then the cell phone radio is going to work just as hard no matter what the CPU voltage.
tehsam said:
I have been using setiron's reoriented kernel for awhile now with the Voltage control app set at -75mV for 100, 200, & 400mhz and -50mV for all other frequencies. I am not having any stability issues and the voltages are sticking after reboot. However, I was expecting a pretty significant increase in battery life due to the undervolting and I have seen next to nothing. Battery life is not bad by any means but in real world use is pretty comparable to what I was getting at stock voltage.
people seem to be reporting really big increases in battery life, so I'm a little confused. have I not UV'd by enough? if that were the case I would expect to see at least some battery improvement.
I wiped battery stats/recalibrated the battery when I flashed. I do have BLN enabled, but my understanding is that this causes a really small amount of battery drain. any thoughts?
Click to expand...
Click to collapse
Battery drain can be a symptom of i9000 kernel and captivate modem.
Changing the modem and keeping 850mhz is a multi step process. I tried the kernel you are talking about but it's over rated.
if you want battery life flash a 2.1 rom and use unhelpful's kernel, 1.4.1 was the most stable on my phone but it doesn't have voodoo. 1.6 has voodoo and 1.7 has voodoo and clockwork recovery if I remember right. But I had random restarts, others did not report the same problems so who knows.
I would wait for captivate froyo source to drop. I'm getting decent life with cognition and no undervolting.
Edit after reading the whole thread your battery life seems normal, I don't see any problem, you can try more undervolt but test the phone completely. Make sure it doesn't freeze randomly, or on shutdown. Also test it with the charger plugged in, extra heat from the battery charging can affect stability.
Sent from my SAMSUNG-SGH-I897

Underclocking Note before sleep to save battery

How to underclock?
Thanks
underclocking only improves active and idle battery life. it has no effect on sleep battery life as your device should be running at 0mhz when sleeping until awoken. or so it was when i was messing with the clocks on my old n900. i would assume android would be similar.
the only time it would have any effect would be if your phone is not going into deep sleep. ie. an app is boot looping, or youre downloading, or you've left wifi/bluetooth/gps on. then it may improve battery life a little.

Xposed and Battery Life

I'm trying to improve battery life when running Null23. It seems to me that battery life is greatly diminished when Xposed is activated. Is this correct?;
hoddy4 said:
I'm trying to improve battery life when running Null23. It seems to me that battery life is greatly diminished when Xposed is activated. Is this correct?;
Click to expand...
Click to collapse
hi ,
firstly ,cannot really say if xposed drains ,battery on Gear ,but my overall xperience with xposed modules, i run on my Note 3 ,Note8.0 and Htc one x,i have no battery drainage but possible ?
However with my combo, i use Gear Null 23 and Note 3
My battery usage is very good ,"mild to meduim " usage.
( few notifications one or two calls and bluetooth on for 8/12hours ,)
i get in sleep mode easy+- 11 hrs and +- 20% a day ...usage( see screenshots )
Before..... i tweaked the voltage, what i did after finding that my usage was on heavy side ...
i set the voltage cpu between 200 and 800 ( down from 1600mhz )
i/o scheduler i kept on cfq and cpu govender on pegasusq and it works for me (,very good battery usage .)
Take note...
It seems different combo of Gear and phone, will affect battery usage whether on Tizen ,Android or Null .!
good luck

Terrible battery drain

Is anyone seeing very fast battery drain? Currently running skydragons Dev edition ROM and kernel. Tried using greenify and juice defender to help mitigate it but not having very good results yet. Any suggestions?
Battery fine all stock.
Sent From My HTC One (M8)
Stock Battery Drain
I'm running Stock and i am having very bad battery drain. I installed CPU Spy and noticed that the CPU state "Deep Sleep" is never used. CPU is normally at 960 MHz and 384 MHz. I also installed GSam Battery Monitor and after a full day the Kernel and Android System 40% of the battery drain....
Is anyone else experiencing the same issue?
Give it a few days, let it break in

What are your CPU Settings?

Hey, was just wondering what settings you all have under Kernel Auditor in order to ensure 5 hours+ SOT. I personally have a dual core setup and have the other two cores kick in when the load gets to 90%, but this seems sort of sluggish now and I only get about 3.5-4 hours SOT and I don't play any games; just simple browsing and productivity. Others manage to get up to 5-6 hours SOT and I wonder how, I have NEVER been able to get this much. Standby is great though, 10 hours overnight and I lose only 3% battery. I am running on Pure Nexus Project ROM and latest Hells Core Kernel.
thats about the regular time I get outa mine. If I had to guess a lot of these 5+ hours are from watching videos or something that doesn't involve touching the screen. I've been using HC kernel with just zen decision on max performance settings and gpu on performance governor (since it idles 27mhz anyway might as well ramp up to full 600mhz for touches) for smoothness.
I have it setup that all my cores are on all the time, no hotplugging. ondemand/deadline, mpdecision disabled, fsync disabled. and I get 5+ hours sot every single day. no, I do not watch videos. but I do keep my brightness all the way down.
Hey, where do you go to disable fsync
aroy97 said:
Hey, where do you go to disable fsync
Click to expand...
Click to collapse
it has to be an option in the kernel that youre using, at least the kernel has to expose it so that you can disable it. if its not xposed in general, then you cant disable it. im using despair kernel.
Try undervolting. Unless you severely under clock your cores you won't really see battery life improvement.
I keep my max CPU speed at 2803mhz. You might think "oh well if you're running higher frequencies then more battery drain". Not exactly. The difference between 2649mhz and 2803mhz will be negligible in terms of battery life so I'm seeing a slight performance increase with no significant battery loss. For example, on 2649mhz after a full day of normal usage I'd have about 49% battery life. On 2803mhz I'd have about 43%. I got a good performance increase and a more snappier device in terms of loading web pages, apps, opening documents etc so that extra 6% I lost doesn't matter to me, because its not significantly impacting me, I barely notice most of the time.
So yeah, the same goes for lowering CPU speeds to unless you significantly lower them. Putting max CPU speed to something like 2572mhz, you wouldn't even notice e the difference in battery. Now lowering it to like 1958mhz, or 2188mhz and you'll see a difference because at that point your severely under clocking.
You could also be draining your battery by hotplugging. That's why some people like Zen and MP Decision to keep all cores online when screen is on. If you use your device often, its better to have all cores running. If you don't and its kept in your pocket for hours at a time, hotplugging is the way to go.
Try under volting too. I do. Global Under Volt of -60.
TransportedMan said:
Try undervolting. Unless you severely under clock your cores you won't really see battery life improvement.
I keep my max CPU speed at 2803mhz. You might think "oh well if you're running higher frequencies then more battery drain". Not exactly. The difference between 2649mhz and 2803mhz will be negligible in terms of battery life so I'm seeing a slight performance increase with no significant battery loss. For example, on 2649mhz after a full day of normal usage I'd have about 49% battery life. On 2803mhz I'd have about 43%. I got a good performance increase and a more snappier device in terms of loading web pages, apps, opening documents etc so that extra 6% I lost doesn't matter to me, because its not significantly impacting me, I barely notice most of the time.
So yeah, the same goes for lowering CPU speeds to unless you significantly lower them. Putting max CPU speed to something like 2572mhz, you wouldn't even notice e the difference in battery. Now lowering it to like 1958mhz, or 2188mhz and you'll see a difference because at that point your severely under clocking.
You could also be draining your battery by hotplugging. That's why some people like Zen and MP Decision to keep all cores online when screen is on. If you use your device often, its better to have all cores running. If you don't and its kept in your pocket for hours at a time, hotplugging is the way to go.
Try under volting too. I do. Global Under Volt of -60.
Click to expand...
Click to collapse
undervolting doesnt really save you battery, but it does reduce heat. and hotplugging or having all your cores on doesnt really factor in when you dont use your device that much. as, if you have all your cores on or hotplugging, your phone should be in deep sleep anyways. it does make a difference when your phone is awake. i get much better battery life when all my cores are on all the time.
Should there be a sticky of suggested settings of differing requirements of speed, battery life, etc?
ronaldheld said:
Should there be a sticky of suggested settings of differing requirements of speed, battery life, etc?
Click to expand...
Click to collapse
honestly, I don't think so. as the settings/setup used is always dependent on how you actually use the device. and many people have different opinions on how it should be set up.

Categories

Resources