[Resolved] Display won't time out on my Samsung Code - General Questions and Answers

Hey guys, I've been a member here for a while and appreciate all of the great resources I've been able to find here. Anyways, I'm hoping somebody could help me out with this problem that's eating up my battery life! I have a Samsung Code, runs on WM 6.1, and I've downloaded some apps to my phone. A few days ago I installed .Net CF 3.5 and I think that might be when my phone started having this problem where the display never shuts off. I checked all of my settings under Power Management, and all timeouts are set to the very minimum(Backlight: 5, Display on AC: 30, Display on battery: 10, keypad: 1)...
Can anybody tell me how to fix this problem?
Thanks
edit: Resolved this myself haha.
//forum.xda-developers.com/archive/index.php/t-320306.html
Useful info incase this happens to anyone else. I guess this was caused by installing TCPMP player, which set a new display value.

Related

SDA - few questions - camera lag, video size, auto profile?

First post here, hopefully somebody can shed some light. I've searched to no real avail for answers to these questions.
First, and most importantly, has anybody found a way to speed up the camera when taking 1280x1024 pics? The lag seems to be on the order of 1+ seconds, which is intolerable when you have a 2 year old. I found registry entries for the camera key delay, and set them all to like 100 or something (one of them was set to something huge like 100000 or something), but haven't seen any improvement to shutter speed. I may have even tried setting the delays to 0, but I don't remember anymore. NOthing seemed to help though...
Second, I see folks with the MDA have a 320x240 option for taking videos, however us SDA users only get 176x144 or smaller. I understand there are reg entries for video size, so I tried creating a mp4Large entry (which I did NOT have already, like the MDA users), but or course it didn't give me any new options in the video setup menu. So, anybody know if this is even possible? I have to assume it is. WOuld it be safe to import the mp4large entry from somebody's MDA, or would that even help? any insight here appreciated.
Third, has anybody found a way to make the phone automatically go into silent or meeting profiles when you plug it in? I hate it when some goofball calls the wrond number at 3 in the morning and my phone is blaring, and I can never seem to get into the habit of manually putting it on silent when I go to bed.
WHich reminds me, for those who haven't yet discovered this, you can toggle from normal to silent modes by holding down the # key. Most of you probably konw that already, but i jsut stumbled across it this weekend, so I thought I'd sahre with those who don't know.
I suppose I'll also ask folks what theiry typical battery life is too while I'm posting. Mine seems a bit short. With bluetooth on (but usually idle), WiFi off, and normal phone (1 hour max) and browsing (light browsing, wap pages mostly) usage my battery goes from 100% to <50% by the end of the day. THis seems a bit weak to me. Basically, there's no way I'd ever ea able to skip charging my phone overnight, for even one night. Not good when camping, etc. Is this pretty much on par with eveybody else's?
Greatly appreciate any comment, opinions, and help with any of these.
Thanks!
Jeff

Battery drain (touch cruise or SPB mobile shell 2 )???

I made a small test.
1) Hard reseted the HTC, Charged my battery to 100%, then let the phone lying on my table for 12 hours without doing anything and then check battery status -> 84%
2) Hard reseted the HTC, installed SPB mobile shell 2.0 Charged my battery to 100%, then let the phone lying on my table for 12 hours without doing anything and then check battery status -> 68%
Anyone encountered this same issue?????
Thansk a lot for helping
Dag
Depends on whether you have set weather updates to download at set intervals. Also check your backlight options, this may have been changed by SPB.
I think I have heard a similar thing a couple of times (spb draining the battery). The solution as suggested by MrSmith22 is to disable the automatic weather updates. I think you also need to disable the option "Show the Now Screen when device wakes up".
Another thing which you may find useful is to install the PowerGuard program (freeware) and monitor the energy drawn by your device. I installed version 1.5 of the software you are using and with screen dimmed and nothing else running the buttery current is -32mA. Of course this varies between now and then...
I would say if you notice huge negative numbers while at standby, for example, -150, -300, then there might be a problem! These numbers are what i get when i use coreplayer for music or video.
Of course you need to make sure that WiFi is turned off. I have no idea how spb updates the weather reports. If it tries to use a WiFi connection every 10 minutes then i guess this could be a cause... In my device, I have also disabled the HSDPA mode as I do not really need it.
Bottom line, run PowerGuard and observe the current drawn with and without the software you are interested in.
Hope I helped...

No email in standby...

Hey all,
Recently i've been having some problems with my emails coming through to my handset. I have the settings set to send/receive every 5 minutes.. but for some reason if my screen is turned off (phone on standby) no email comes through but when i turn my screen back on the emails come.
Has anyone else has this problem? I've never had this problem before it started out of no where...
Which software are you using as your email handler?
The original software that came with the phone.. I havn't installed anything on the phone its at its original state...
jayt2008 said:
Hey all,
Recently i've been having some problems with my emails coming through to my handset. I have the settings set to send/receive every 5 minutes.. but for some reason if my screen is turned off (phone on standby) no email comes through but when i turn my screen back on the emails come.
Has anyone else has this problem? I've never had this problem before it started out of no where...
Click to expand...
Click to collapse
are you using wifi or data connections? If its wifi do you have wifi enabled during standby?
i am using data...like i said if my screen is turned on theres no problems at all but its just when the screen is off in stand by mode no emails will come through..
This is a huuuuge issue which stems from the dawn of WM6. To be honest, it works sporadically for me. A few hours of no email, then a whole group arrives at a time. Sometimes it wont check by itself all day. Other times it will go 1-2 days without missing a beat. This makes it really hard to determine if what I have been doing fixes it.
Here are links to threads I have dug up:
http://forum.xda-developers.com/showthread.php?t=420513
^This is not a good fix imo, as it forces your data connection to be awake 24/7, killing your battery.
http://forum.xda-developers.com/showthread.php?t=437199&page=2
^ I am using the outlook email scheduler. Not sure if its working, or placebo. It still doesnt stick to every 30 mins, sometimes an hour late heh. At least you can have day/night settings and weekend settings. Maybe not a perfect fix, but increases email checking options.
http://forum.xda-developers.com/showthread.php?t=332362
^ Many Kaiser users had/have same problem, no solution found.
http://forum.xda-developers.com/showthread.php?t=445434
^Same problem, no fix in the Blackstone forum.
Thanks everyone for the help.
There has to be some kind of fix out there somewhere.. its unreliable
could try out the seven beta app
If I might make a suggestion...
Maybe you should edit the thread title to "No email in standby" as "Email..." doesn't really tell the story, more people will be likely to find it and post a solution
Problem solved with my Touch Pro
I also had this problem but I found the settings to change this. But you do need schaps advanced config 3 (and a regeditor) to make it happen. Now i always receive my email, it checks every 10 minutes, even in standby mode, with my own data connection.
With a registry editor go to:
HKLM - Comm - ConnMgr - Providers - [GUID] - Connections - [Connection Name] - Always On
and change this value from 0 to 1
(You can also change this setting with Schaps' Advanced Config under menu (right softkey) - More Settings - Connections.
Here you can select "Always On" for the type of data-connection that you use to receive your email)
The second thing is using advanced config and change the setting under power management:
- AC resuming from suspend timeout
- Battery resuming from suspend timeout
I have changed both to 60 seconds.
Now my touch pro is notifying me of new email, even in standby mode.
Good luck
^ by forcing the eternal data connection, are you not killing the battery? I think the phone should be able to connect, query, download emails, disconnect at set intervals while in standby. I think it is supposed to, but for some reason it doesn't do it reliably.
The way I have done it is to use SKSchema to watch for a data connection being connected and turn on the screen when this event happens. This wakes th ephone up and is able to download email. Then I use advance config to close inactive data connection after 10 seconds. As the phone is awake the data disconnects fine. As long as your phones screen is set not to power off quickly, mine is a minute it should be fine.
In the last day I got fed up with TF3D again and turned it off, email seems to check every 30 minutes. I'll let it go for a few days to make sure its not placebo effect.
Anybody here having this problem while manila disabled? Perhaps there is some obscure power saving setting running in the background of manila
Well i have no idea how to fix this problem.. i have played with my phone to try figure it out but nothing.
I will probably have to take rvjacobs advice and see if that works.
It looks like quite a few people are having this same problem.
Its weird.. If my phone is on standby no email comes through..but if its on standby and an SMS comes through, the screen doesnt wake but the email also comes through..
not sure whats happening there.
Mine does it with TF3D disabled also. Thats why I have to use SKSchema to turn the screen on when it detects an internet connection. This way, mail comes through fine and it also auto disconnects the data.
I can now confirm that the issue is still there, regardless of TF3D. Damn, I've tried everything, maybe this is a dead end... Maybe wm 6.5 will see a solution
Maybe it helps you to look for/change the following key:
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Power\Timeouts]
"ACResumingSuspendTimeout"=dword:00000001
"BattResumingSuspendTimeout"=dword:00000001
If you've got these values in the registry, try to cange them to
"dword:0000001e"
It's the time in seconds the device keeps running (without turning on the display) when it's automaticly woke up from the suspend mode (i.e. to look for mails). And if the value is "1", the time might be to short for picking up your emails.
With the new value you set the time up to 30 seconds.
The key exists since WM2003 and most of roms had a higher value in the past. But in the last time more and more roms come with a value of 1. I think its because the manufacturers want to get a good standby time for the devices...
I hope it works for you and you won't have to wait for WM6.5
Thanks for that deroland! I did manage to find them in the reg but it just says "Value Data 1".. doesnt say anything like "dword:00000001"?
I am new to this whole thing so it may be a stupid mistake im making..
jayt2008 said:
Thanks for that deroland! I did manage to find them in the reg but it just says "Value Data 1".. doesnt say anything like "dword:00000001"?
Click to expand...
Click to collapse
Then your value is like "dword:00000001". This is a hexdecimal dword key.
So your device has one second to look for new mails.
Try to change it to "1e" and I hope it will help you.
jayt2008 said:
I am new to this whole thing so it may be a stupid mistake im making..
Click to expand...
Click to collapse
The only stupid thing is that there is no open support by the manufacturers of the devices and microsoft for windows mobile. They only want to make their money ignoring the problem we have by the stuff they sell.
deroland said:
Maybe it helps you to look for/change the following key:
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Power\Timeouts]
"ACResumingSuspendTimeout"=dword:00000001
"BattResumingSuspendTimeout"=dword:00000001
If you've got these values in the registry, try to cange them to
"dword:0000001e"
It's the time in seconds the device keeps running (without turning on the display) when it's automaticly woke up from the suspend mode (i.e. to look for mails). And if the value is "1", the time might be to short for picking up your emails.
With the new value you set the time up to 30 seconds.
The key exists since WM2003 and most of roms had a higher value in the past. But in the last time more and more roms come with a value of 1. I think its because the manufacturers want to get a good standby time for the devices...
I hope it works for you and you won't have to wait for WM6.5
Click to expand...
Click to collapse
This is a setting which can be changed in advanced config, under power. I have mine set to 90 seconds, to no avail. I think this is what is causing it to work sporadically, as opposed to not at all.

[Q] Which Kernel should I use to reduce battery drain? [CM 10.1]

Hey everyone!
I flashed CM 10.1 yesterday (cm_p500-userdebug-cm-10.1 from jenkins. androidarmv6.org/job/android/ and I'm amazed how smooth and perfect it is working (A huge 'Thank you!!' to the developer )
The problem is that my battery drain is awful. It took less than 8 hours today to completely discharge, though I hardly touched it.
I used Battery Calibration and also installed "WakeLock Detektor" to see where the problem is, and it stated that my phone isn't asleep 99% of the time though the display is turned off most of the time :crying:
The main reason is a kernel-related thing named "suspend_backoff" that keeps it awake.
I wanted to install a different kernel, but I got no clue which one... I actually planned on installing the recent DorimanX-Kernel, but then recognized that this is only available for the Galaxy SII
Can anyone recommend a Kernel that keeps my system running smooth but the battery drain at a minimum? I basically need my phone for Messaging (SMS, WhatsApp, E-Mail), Calendar and once in a while as navigation system. So no need for spectacular game performances or so.
Are there other Ways to improve my battery life on that phone (I've read all the general tips for improving battery life)? Maybe some OC things I can change manually?
I'm grateful for any help. Thanks!
Helbelinc said:
Hey everyone!
I flashed CM 10.1 yesterday (cm_p500-userdebug-cm-10.1 from jenkins. androidarmv6.org/job/android/ and I'm amazed how smooth and perfect it is working (A huge 'Thank you!!' to the developer )
The problem is that my battery drain is awful. It took less than 8 hours today to completely discharge, though I hardly touched it.
I used Battery Calibration and also installed "WakeLock Detektor" to see where the problem is, and it stated that my phone isn't asleep 99% of the time though the display is turned off most of the time :crying:
The main reason is a kernel-related thing named "suspend_backoff" that keeps it awake.
I wanted to install a different kernel, but I got no clue which one... I actually planned on installing the recent DorimanX-Kernel, but then recognized that this is only available for the Galaxy SII
Can anyone recommend a Kernel that keeps my system running smooth but the battery drain at a minimum? I basically need my phone for Messaging (SMS, WhatsApp, E-Mail), Calendar and once in a while as navigation system. So no need for spectacular game performances or so.
Are there other Ways to improve my battery life on that phone (I've read all the general tips for improving battery life)? Maybe some OC things I can change manually?
I'm grateful for any help. Thanks!
Click to expand...
Click to collapse
I found SweetnSour's version 11 kernel quite good with cm10.1.
However, the ROM needs some help to get good battery life:
Install 2xBatterysaver. It will turn off data and WIFI when the screen is off (turn them on periodically to allow syncing). There are various apps like this one.
Control WIFI. Use Y5 battery saver or Whiz WIFI manager. Y5 is tiny and effective but crashes on cm10.2. Both check for favorite hotspots, leave WIFI on and turn it off when leaving the hotspot.
Thanks for your quick response!
Just tried to flash Sweetnsour's Kernel, but it won't work. I flashed this one --> versionFINAL-CFS.zip
Is that the correct one or rather one of those? -->" version11-CFS-TWRP.zip" or "version11-CFS.zip"
Edit: What actually are CFS respectively TWRP? Searched the forums but couldn't find an answer
[solved] or rather [solvished]
After days of trial and error, cutting and re-enabling all connections from WiFi to 3G and hibernating, un- and re-installing basically all of my apps and trying loads of other roms I didn't love as much as this in the least, I found the source for my phone being awake basically 100% of the time.
The changelog of the mod stated that there's still this WiFi-issue that keeps the phone awake.
Well, though I've tried before, It now works: switching off the WiFi connection finally gets my phone to sleep.
I think I'll just be running on my mobile data for the followin days or weeks until this bug has been fixed.
Btw: A little hint for the developer (I'm posting here, since I'm a noob and can't post in the developers forum): When switching the WiFi options to turn out WiFi whenever screen goes dark, it won't connect afterwards. I always needed to reboot my phone when I wanted WiFi to work again. (This bug also caused my mobile data not to work. It apparently thought WiFi was running, though it couldn't connect.)

[Completed] My phone NEVER goes into deep sleep (Samsung Galaxy S6)

Dear all,
I am writing this post to hopefully get some help or directions regarding my issue, because I have already spent hours and hours looking on the internet trying fixes on my phone without anything working for me so far.. So I am getting a bit hopeless....
I recently got a Samsung Galaxy S6 (SM-920I model), and since the beginning i have been shocked by how CRAPPY the battery life was. To give you some ideas, my phone loses around 3-5% of battery per hour when idling and screen off, meaning I am not doing anything at all with my phone. Overnight, I lose about 15-20% battery with my phone on airplane mode, power saving, or whatever else you want, when it is not doing anything at all..
I know that my problem is a deep sleep problem, quite easy to identify i guess, so I have spent a lot of time reading and trying to fix it by myself but so far nothing worked.
To give you some background, after unpacking the phone I quickly upgraded Android from 5.0 to 5.1.1, so I cannot tell how it was working at 5.0. It is only after that I saw that a lot of people have issues on 5.1, but it is strange because just before having my S6, I was having a OnePlus One on 5.1 and I didn't have such battery problems and everything worked fine except turning off the "keep awake" setting option for GooglePlayServices.
What I can say though, is that since I upgraded I never had so much difficulties trying to fix a problem on any Android phone than before. Basically, since day 1, my phone never went a single time into deep sleep mode.
So far, to fix this, I tried all the following:
- Reflash the stock firmware (Samsung 5.1.1) --> many times, with full Cache/davik wipe and factory resets
- Root my phone using UniKernel
- Install custom ROM (I am running XtreStoLite version 2.2) + all kinds of wipe/factory reset
- Flash different kernel that are shipped with the ROM (there are 5 different ones if I remember)
- Use my phone with only stock apps (to see if the problem comes from one of my apps)
- Cold reboots
- The "DeepSleepFix" using the Android terminal as described on some forums (cannot post the link for now since I'm new..)
- And desperately, try to use my phone normally for now
Overall, I would say that my battery would last roughly 15 -20h in total with normal usage, not even heavy, which quite sucks..
I can show the no deep sleep issue easily to you with some screenshots (will put a link to the screenshots here when I have 10 posts... for now I can't..) , I have tried many applications to try to find the root cause such as:
- WLD
- 3C CPU
- BetterBatteryStats
- GSAM
etc.
I am monitoring my phone closely for the past 1-2 weeks and so far I have never seen it being in deep sleep at all (ah yes... 0.2s in total max all the time..). Also, when I check on the default Battery menu of Android, after a full day I would usually see "Android OS" on top and using 20-30% of the battery at least.
The problem seems to boil down to a process called "LHD" in the kernel wakelock. This is keeping my phone awake 100% of the time, whether I am using the phone or if I am not. However, even with this info I tried to search online and I cannot find anything about "LHD", so I am really stuck right now.. Do anybody knows what it is and why it is a problem for me?
If any of you have a solution or can give me some guidelines to help me fix this issue, I would really appreciate any help. If you need more information from me also let me know.
Thank you for taking the time to read me,
Best regards.
ImPain said:
Dear all,
I am writing this post to hopefully get some help or directions regarding my issue, because I have already spent hours and hours looking on the internet trying fixes on my phone without anything working for me so far.. So I am getting a bit hopeless....
I recently got a Samsung Galaxy S6 (SM-920I model), and since the beginning i have been shocked by how CRAPPY the battery life was. To give you some ideas, my phone loses around 3-5% of battery per hour when idling and screen off, meaning I am not doing anything at all with my phone. Overnight, I lose about 15-20% battery with my phone on airplane mode, power saving, or whatever else you want, when it is not doing anything at all..
I know that my problem is a deep sleep problem, quite easy to identify i guess, so I have spent a lot of time reading and trying to fix it by myself but so far nothing worked.
To give you some background, after unpacking the phone I quickly upgraded Android from 5.0 to 5.1.1, so I cannot tell how it was working at 5.0. It is only after that I saw that a lot of people have issues on 5.1, but it is strange because just before having my S6, I was having a OnePlus One on 5.1 and I didn't have such battery problems and everything worked fine except turning off the "keep awake" setting option for GooglePlayServices.
What I can say though, is that since I upgraded I never had so much difficulties trying to fix a problem on any Android phone than before. Basically, since day 1, my phone never went a single time into deep sleep mode.
So far, to fix this, I tried all the following:
- Reflash the stock firmware (Samsung 5.1.1) --> many times, with full Cache/davik wipe and factory resets
- Root my phone using UniKernel
- Install custom ROM (I am running XtreStoLite version 2.2) + all kinds of wipe/factory reset
- Flash different kernel that are shipped with the ROM (there are 5 different ones if I remember)
- Use my phone with only stock apps (to see if the problem comes from one of my apps)
- Cold reboots
- The "DeepSleepFix" using the Android terminal as described on some forums (cannot post the link for now since I'm new..)
- And desperately, try to use my phone normally for now
Overall, I would say that my battery would last roughly 15 -20h in total with normal usage, not even heavy, which quite sucks..
I can show the no deep sleep issue easily to you with some screenshots (will put a link to the screenshots here when I have 10 posts... for now I can't..) , I have tried many applications to try to find the root cause such as:
- WLD
- 3C CPU
- BetterBatteryStats
- GSAM
etc.
I am monitoring my phone closely for the past 1-2 weeks and so far I have never seen it being in deep sleep at all (ah yes... 0.2s in total max all the time..). Also, when I check on the default Battery menu of Android, after a full day I would usually see "Android OS" on top and using 20-30% of the battery at least.
The problem seems to boil down to a process called "LHD" in the kernel wakelock. This is keeping my phone awake 100% of the time, whether I am using the phone or if I am not. However, even with this info I tried to search online and I cannot find anything about "LHD", so I am really stuck right now.. Do anybody knows what it is and why it is a problem for me?
If any of you have a solution or can give me some guidelines to help me fix this issue, I would really appreciate any help. If you need more information from me also let me know.
Thank you for taking the time to read me,
Best regards.
Click to expand...
Click to collapse
Hello and thank you for using XDA Assist.
Sorry to hear about your trouble but we cannot provide technical support nor can other members reply to your posts here on XDA Assist. Fortunately there is an XDA area dedicated to the Samsung Galaxy S6 at http://forum.xda-developers.com/galaxy-s6 which would be a good starting place. I suggest you post your question with all relevant details in the friendly Q&A forum there at http://forum.xda-developers.com/galaxy-s6/help where the experts familiar with your device will be best able to guide you.
Good luck!
This thread is closed.

Categories

Resources