technical kernel-related questions - Samsung Galaxy Core

Hey,
Is power collapse suspend from _idle_ sleep possible, without random freezes when sleep/resume occurs? Is it a good idea to enable it in the first place, if it was possible?
Is memory low power state sensible, and can something be done to prevent sleep/resume freezes?
cheers, -foo

Related

Device sleeps too deep?

I often receive SMS messages and other notifiers as soon as I wake up my phone from power button, not when they arrive. Maybe this is because of battery related tweaking I have done... does anybody else have this issue?
darfri said:
I often receive SMS messages and other notifiers as soon as I wake up my phone from power button, not when they arrive. Maybe this is because of battery related tweaking I have done... does anybody else have this issue?
Click to expand...
Click to collapse
no, but either advanced config for diamond tweak has an option to wake up from new sms.
ok. I turned that on now. Rebooting... and will tell what it changes. I also used batteryguard few weeks ago to control the devices at different power states BUT I did not change anything in the "sleep" state.

TF700 very sluggish after waking up

Disclaimer: I searched the forums but couldn't find anything relevant.
Am I the only one whose tf700 acts really sluggish after it wakes up for a minute or two?
Is there any solution to this? It kills my main use case of the tablet (pick it up when I want to look at something in a pinch, and put it away when I'm done).
I'm on official ROM, rooter but not unlocked. This has been happening with the previous firmware versions as well.
I had the same problem for a while... most of the time I woke the tablet from sleep it'd be very sluggish.
I noticed that this happens when the wifi disconnected during sleep... it would have to reconnect and therefore all the services that required wifi would all start at the same time, throttling the system.
Turns out its the special setting in ASUS Customized Settings, "Disconnects network during sleep" that was causing this. It does exactly what it says, suspends network-related tasks when the screen goes off and resumes on screen on.
I initially turned this on because i was worried network tasks would drain my battery on sleep, but there doesn't really seem to be much of a performance difference with it on or off. So I'm leaving it off for now.
originalnabisco said:
I had the same problem for a while... most of the time I woke the tablet from sleep it'd be very sluggish.
I noticed that this happens when the wifi disconnected during sleep... it would have to reconnect and therefore all the services that required wifi would all start at the same time, throttling the system.
Turns out its the special setting in ASUS Customized Settings, "Disconnects network during sleep" that was causing this. It does exactly what it says, suspends network-related tasks when the screen goes off and resumes on screen on.
I initially turned this on because i was worried network tasks would drain my battery on sleep, but there doesn't really seem to be much of a performance difference with it on or off. So I'm leaving it off for now.
Click to expand...
Click to collapse
Hmm, I disabled that with the same battery concerns, but I'll give it a shot, thanks!
fincan said:
Hmm, I disabled that with the same battery concerns, but I'll give it a shot, thanks!
Click to expand...
Click to collapse
Also try a clean boot.
Hold down the volume down and power button when you power it on from cold. Let it go through the next screen without touching and it will clear cache automatically.
This does help as well anyway.
It's probably still quicker than most of us after we wake up..... Have you tried coffee?
Try turning off all bloatware. Mine used to be incredibly sluggish when waking up, and when I checked it turned on about 25-ish apps everytime i woke it up. Rubbish like Google Now, Talk, Gallery, etc. This slows the poor thing down to an insane level. Turned off all the random crap I would never use anyway, did a coldboot (sbdags describes the process up one post ^) and now it's instantly awake.

[Q] what is sleep state?

As the title asks, what is it? I know that turning off the screen with power button is not sleeping. I believe it is the state when it takes more than a second (lag) to unlock the screen. This means that the phone was in sleep state and I woke it up. But the question remains, that what is it? How and when is it activated? What happens when the phone is sleeping? Effect on battery (I believe it's positive)? The notifications like sms and call? Is only the screen asleep or are the other functions sleeping as well? Final question, Can I activate the sleep mode with the help of an application if it helps save the battery?
Note that I don't want to use battery saver apps because I don't want anything on my phone to stop. I paid for the whole phone, "including" gps, wifi and things like that. Smartphones are for us, we are not for smartphones.
usman farhat said:
As the title asks, what is it? I know that turning off the screen with power button is not sleeping. I believe it is the state when it takes more than a second (lag) to unlock the screen. This means that the phone was in sleep state and I woke it up. But the question remains, that what is it? How and when is it activated? What happens when the phone is sleeping? Effect on battery (I believe it's positive)? The notifications like sms and call? Is only the screen asleep or are the other functions sleeping as well? Final question, Can I activate the sleep mode with the help of an application if it helps save the battery?
Note that I don't want to use battery saver apps because I don't want anything on my phone to stop. I paid for the whole phone, "including" gps, wifi and things like that. Smartphones are for us, we are not for smartphones.
Click to expand...
Click to collapse
Technically; sleep mode starts the moment the screen is switched off. With the exception of applications which can prevent the phone from fully 'sleeping'. A good and obvious example is the music application which keeps the phone awake in order to play music.
There's really nothing special about sleep mode except that the phone will execute a lot more tasks together but less frequently in order to save power, so you're still able to receive all messages, emails, calls and all notifications (from apps). Applications can also be informed about the change in power state (awake to sleep and sleep to awake) and therefore change the way they behave.
The amount of sleep time the phone gets is dependent on the apps you have installed and the amount of emails, calls and other notifications you get. There isn't a way to enable 'sleep mode' with an application as it would make little difference if your display is on. Your display is the main cause of power consumption, as is true with all smartphones.
Battery Saver apps are dangerous, by killing apps they have a negative impact on the phone. If the application is needed, the phone will restart it and add to the CPU cycles. The same goes with memory freeing apps. GPS/Bluetooth/WiFi are there for when you need them. Keeping them on when they're not needed is a waste of the phone's resources. As the more CPU cycles they use, the more power they consume.
DennisBold said:
Technically; sleep mode starts the moment the screen is switched off. With the exception of applications which can prevent the phone from fully 'sleeping'. A good and obvious example is the music application which keeps the phone awake in order to play music.
There's really nothing special about sleep mode except that the phone will execute a lot more tasks together but less frequently in order to save power, so you're still able to receive all messages, emails, calls and all notifications (from apps). Applications can also be informed about the change in power state (awake to sleep and sleep to awake) and therefore change the way they behave.
The amount of sleep time the phone gets is dependent on the apps you have installed and the amount of emails, calls and other notifications you get. There isn't a way to enable 'sleep mode' with an application as it would make little difference if your display is on. Your display is the main cause of power consumption, as is true with all smartphones.
Battery Saver apps are dangerous, by killing apps they have a negative impact on the phone. If the application is needed, the phone will restart it and add to the CPU cycles. The same goes with memory freeing apps. GPS/Bluetooth/WiFi are there for when you need them. Keeping them on when they're not needed is a waste of the phone's resources. As the more CPU cycles they use, the more power they consume.
Click to expand...
Click to collapse
That's a good explanation
I have read about term "deep sleep" while searching for this, but the explanations on the internet are not clear to me. I have understood a part of it, that this state comes when phone is at rest for too long. The phone pauses apps and their processes, except those who are downloading e.g games and only does basic tasks such as incoming communications (message, call etc.) and sync. Again, I could not find answer to when it state/mode starts.
About GPS/Bluetooth/WiFi: I said this because I had seen people talking about how they have to force otherwise unnecessary restrictions on them and thus have to worry too much to save their batteries. This is what I don't like. Technology is made to facilitate people and to make their lives easy, that's what I believe. On the other hand, I always keep bluetooth off because I need it very rarely. Well, you may have other preferences but I have to keep gps on in order to geo tag photos and to make it ready whenever I open maps etc. Wifi according to me is life blood of smartphones. So I can't live without it either.
When I had Nokia 5800 I had to turn off auto rotate because its menu took time to refresh if I turned the phone by mistake. That was the time when I came to know how bad it feels to go through the settings to turn it on when I need it urgently.

Low power consumption in a non mobile application

Hi !
In a non mobile application which is powered by a battery and it has to be powered on during weeks without recharging it.
Is Android suitable?
Android has a power management feature, but can we control it or is it something "automatic" ?
I know that in Linux there are "power managers" called APM or ACPI, they allow the user to control at a very low level the hardware consumption and put the device in Idle mode alowing output interruptions to wake up the chip.
Is there a possibility to do the same with Android? Is Android suitable for a very (very) low consumption application (without any screen of course) ?
Thanks in advance !
Nobody ?
Tagadac said:
Hi !
In a non mobile application which is powered by a battery and it has to be powered on during weeks without recharging it.
Is Android suitable?
Android has a power management feature, but can we control it or is it something "automatic" ?
I know that in Linux there are "power managers" called APM or ACPI, they allow the user to control at a very low level the hardware consumption and put the device in Idle mode alowing output interruptions to wake up the chip.
Is there a possibility to do the same with Android? Is Android suitable for a very (very) low consumption application (without any screen of course) ?
Thanks in advance !
Click to expand...
Click to collapse
There are power control features in android but you aren't going to get an android device to run anything for weeks without recharging, regardless of how low the power consumption is. The only way an android will last that long without charging is to stay powered on in deep sleep but it consumes virtually no power in this state, it isn't running any processes during deep sleep either, which means your app won't be running so that does you no good.
Thanks for your response !
That's what I thought... But when I am in deep sleep, its like I'm in airplane mode with my phone right? But I can wake it with the button.
But if I'm not in airplane mode, is the CPU in deep sleep? Or there is a wakelock for the GSM?
Tagadac said:
Thanks for your response !
That's what I thought... But when I am in deep sleep, its like I'm in airplane mode with my phone right? But I can wake it with the button.
But if I'm not in airplane mode, is the CPU in deep sleep? Or there is a wakelock for the GSM?
Click to expand...
Click to collapse
The details of that may be different depending on the parameters of the kernel the device is running and or its power management.

Prevent medium power saving mode from disabling background location access?

Ive got a SM-N770F/DS and I always have medium power saving mode on. I have also always had an issue with Google Maps not wanting to detect location after I turn the screen off. I assumed it was a google issue until I turned optimized power saving mode on today and Maps suddenly started reading my location and giving directions while the screen was off. Is it possible to disable the "prevent background location access" part of medium power saving mode? Long pressing my power saving settings doesnt give any options to do this, im thinking my only option is to root. Would rooting fix this? If so, does anyone know of some roms on here that would allow me to do this? I dont care about much else from the rom, I like the phone as is and this is the only issue I have with it
Do not toggled on any power management other than the power mode (optimized) and fast charging.
They screw up functionality and increase battery usage on my unrooted 10+ running on Pie.
In Developer options>standby apps all buckets should show as active otherwise power management is active. Android will manage apps well without any power management options turned on. Track down any remaining battery hogs on a per case basis and deal directly with them. Sometimes closing the window gets it done like with Brave. Others need to be dealt with by package disabler and/or Karma Firewall.
This may or may not help you.
Gmaps is crapware. Runs best on original factory load and is a parasitic drain wanting to constantly run in the backup from boot sucking up battery and bandwidth.
Unlike you my goal is to keep it from doing this
Also review Gmaps notification and other settings. It's a mess; buried settings galore.
blackhawk said:
They screw up functionality and increase battery usage
Click to expand...
Click to collapse
blackhawk said:
Android will manage apps well without any power management options turned on
Click to expand...
Click to collapse
I feel like I have experienced the opposite. I felt like my battery was draining faster with optimized on today (2nd pic) compared to the past few days with medium power saving on (first pic). Obviously more testing needs to be done to see. Going off of the pics I lost about 50% each day, so optimized seems to be worse for battery life but the reduced screen on time makes up for it in this scenario

Categories

Resources