HTC EVO 4G :: Lock Screen / Wake Behavior?
Jun 24, 2010
Need some help with phone locking behavior, good peoples. here's what i'd like to end up with:
1. always wake based on volume OR power button
2. when on phone - no locking at all, (additionally wake based on orientation like is done currently)
3. some sort of "lock phone" widget on home screen for manual lock
4. auto-lock timer set to say...5 minutes (longer than sleep timer)
5. sleep/screen-off timer set to 30 seconds
6. disable the slide lock (sense UI?) and only use the pattern lock. why do i have to power button wake, slide unlock, then pattern unlock my phone after it goes to sleep after 30 seconds, it's ridiculous! i want to pick it up press a volume key and put my pattern in - after 5 minutes. before 5 minutes i want to just pick it up and wake it unless it was manually locked.
I'll root it if that's what it takes. this is pissing me off daily.
View 4 Replies
Sep 20, 2009
1) I can press a button to 'wake' up the phone to the lock screen, but I may have to press a button 2 or 3 times to wake the phone up. it seems like it's not waking up correctly and on the first button press.
2) Twitter and other notifications 'sometimes' dont happen until I unlock the screen...this COULD be coincidence, but I thought I would throw it out for people.
3) I didnt get a voicemail given on Friday until today, which appeared as a result of me switching off my phone and switching it back on. has anyone else heard of this???
4) I cant figure out a way to stop apps from starting on bootup, such as peep? I use twidroid, so dont need two apps running of the same ilk?? Any help here?
Thanks in advance guys.
View 3 Replies
View Related
Sep 15, 2009
When I use wake lock to screen at the specific time on the device as follows code. But every time I release this wake lock, the screen will force to close. I think it must to release the wake lock, or screen will always on. It's wasting power. Does anyone knows how to release the screen wake lock and don't need to close the screen?
View 2 Replies
View Related
Jun 9, 2009
My app requires alerts at certain events, which are very likely to happen while the screen is off. It captures those event perfectly, however, I'm struggling to hide the T-Mobile screen lock after I've acquired wake lock from the PowerManager. I've tried broadcasting Intent.ACTION_CLOSE_SYSTEM_DIALOGS, however, that seems not to work.
View 2 Replies
View Related
May 9, 2012
Closest thing I can find is Popup Notifier, but not only does it wake up the device, it leaves a ton of popups when unlocked. I would rather have popups on the lock screen.
View 2 Replies
View Related
Sep 11, 2009
Is there anyway that you can get the screen to "wake" from just touching one of the softkeys and then enter the screen unlock pattern, rather than having to use the dedicated lock button on the side?
It's pretty annoying, especially if the phone is lying on the table and u just wanna look at the screen you cant just mash one of the softkeys.
View 9 Replies
View Related
Jun 14, 2010
I'm developing an app in which i need the TCP connection to stay alive. I've implemented a kind of ping/pong system to do this. It works perfectly when the screen is on, but when it goes of the phone stops responding to the pings after a while. I've created a Wi-Fi wake lock but i'm still experiencing still the same problem. Code...
View 1 Replies
View Related
Dec 18, 2009
I have a question about alarms used with services with regards to wake locks. The documentation explains the behavior using BroadcastReceivers, a wakelock is held during onReceive(), but doesn't describe the behavior for alarms starting services with the RTC_WAKEUP flag. What is the behavior in this case?
I have an app implementing this, an alarm is created with the RTC_WAKEUP flag that starts a service. The service onCreate() then starts a thread to do some network activity. It seems to work just fine but I just want to make sure that I don't need to explicity hold a wakelock myself.
View 4 Replies
View Related
Aug 29, 2009
I'm acquiring a wake lock and apparently, it gets garbage collected in my app at some point with the following error;
code:...........
What is the recommended approach to overwrite the finalize to force releasing the lock or -better- force the GC not to release the lock ?
View 2 Replies
View Related
Jan 28, 2010
I have a service which holds on to a wakelock and the code is similar to this,
public class WakeLockService extends Service {
PowerManager.WakeLock wl;
@Override
public IBinder onBind(Intent arg0) {
// TODO Auto-generated method stub return null;
} public void onCreate() {
PowerManager pm = (PowerManager) getSystemService (Context.POWER_SERVICE);
wl = pm.newWakeLock (PowerManager.PARTIAL_WAKE_LOCK, "My Tag");
wl.acquire();
} public void onDestroy() {
wl.release();
}
For past two days, my phone has been restarting randomly. Today it was worse, it kept restarting until I uninstalled the app. I tried to search about this behaviour online and found that too many wakelocks may coz the phone to restart. Can there be any other reason? Is the above code right? Should make wl as a final variable? Does the service call onDestroy method when phone shuts down? I am using a broadcastreceiver to start my service at boot up as well.
View 8 Replies
View Related
Apr 6, 2010
I'm getting wake times near 100% with this ROM and I don't have the first clue why. I wiped and installed properly, and I have autokill set to optimal. Not runinng setCPU or anything, and I've never had this problem before so I don't think its an app.
If anyone could help, I would REALLY appreciate it. I tried dc2.05, but now I have the no audio issue on phone calls from this ROM, so I had to switch back for the fix -.- Really frustrated and really need a working ROM + phone =
AlwaysFlash seems to be the problem, uninstalled and wake time seems to be staying low under all circumstances.
View 17 Replies
View Related
Jan 20, 2009
The accelerometer turns off when the screen is off. I'm guessing this is a bug but I haven't seen it logged. Am I missing something?
Perhaps the power management features need some improvement - the ability to specify what components are needed during a partial_wake_lock so that power can be conserved as efficiently as possible.
BTW, there is a bug logged noting that onSensorChanged() continues to be called for the orientation sensor (during sleep) but the values are not being updated.
View 6 Replies
View Related
Nov 13, 2009
I have a vanilla Hero. Since I bought it (around 2 months ago), the awake time has NEVER been under 100%. I installed the Modaco 2.9 ROM yesterday (which I highly recommend; my Hero is now much faster) and it's STILL 100%.
Spare parts tell me that the culprit appears to be 'Android system'.
I'd like to reduce my wake time if it's at all possible.
I'm aware of the messaging app/dialer issue; that's not what this is, since I'm using CHOMP sms and it's still an issue.
View 9 Replies
View Related
Aug 13, 2010
I have a problem. I am trying to make a broadcast receiver acquire a wake lock so my alarm will wake the phone from sleep mode.
In the broadcast receiver below, the program crashes with "source not found" on line "sCpuWakeLock.acquire(); when the class "AlarmAlertWakeLock" is called by AlarmReceiver.
Any idea what's going on? Is there a better way to do what I'm trying to do?
In one file:
CODE:..............
In a separate file:
CODE:......................
View 1 Replies
View Related
Apr 5, 2010
Since 1.5 I've been having partial wake problems. My eris normally will last a few hours in airplane mode or with just wifi on before the battery drops one or two percent. Sometimes, it will drop like 5 percent in an hour with low battery usage occuring, for example, when airplane mode is on. I check spare parts under partial wake usage, and it is usually very high, sometimes 100% after hours. I have to reboot my phone to fix these problems.
View 2 Replies
View Related
Dec 1, 2010
After noticing my battery was draining quickly, and then after reading this thread, I installed Android System Info to see what was draining my battery so fast. I notice that whenever I would turn on WiFi, the phone will never go to sleep , regardless of what I set the WiFi sleep policy to. After turning off WiFi, the battery still drains heavily.
The WiFi will shut off after 15mins (if you set it to "When screen turns off" or "never when plugged in"). However it seems to keep the CPU on causing it to drain down the battery.
It would seem that whenever WiFi is enabled, the Android system process creates a partial wakelock that does not go away even if you turn off WiFi. The only way to resolve this is by powering off or rebooting the phone.
You can verify this in Android System Info by going into Battery-History-Other Usage-Partial Wake usage to see how much time the "Android System" process holding a partial wake.
I even did a factory reset on the device; and it is still happening so it doesn't appear to be any app that caused the issue. As I said, it works fine as long as I don't enable WiFi.
I already know of two users having this issue, but I'm wondering if folks having battery problems are going through this as well. Is anyone else having similar issues after using WiFi? I'm hoping someone will be able to identify what exactly is putting the wakelock on and we'll be able to find a fix for it. Other than not using WiFi at all or rebooting the phone after using Wifi.
View 17 Replies
View Related
Oct 1, 2009
I'm looking around and trying to find out where sleep behavior is documented - and I mean in the general sense.
When the phone is left alone: * Sometimes the phone screen dims and doesn't shut off. * Sometimes the phone screen goes dark in five seconds * Sometimes the menu lock happens. * Sometimes the menu lock doesn't happen. * Sometimes the only way to darken the screen is to push the power button.
What's not clear is what triggers these different states. I'm looking for a complete list I can use in testing and application validation.
View 6 Replies
View Related
Nov 19, 2009
I'm looking to prevent the default behavior of going full screen when controls like EditText receive focus in an application. The InputMethodManager class does indeed have a setFullscreen() method available, but it seems to have been hidden on purpose in the SDK. Is there any other way to disable this behavior while still using the software keyboard?
View 5 Replies
View Related
Sep 27, 2010
I activated an almost new Epic this weekend, and it has been amazing so far.I only noticed one strange erratic occurence - when I put the phone to standby, and went to look at it a little while later, the screen was already on.I clicked on home, and as soon as I did that, it would somehow activate the google search widget, and bring up the keyboard as if you pressed the search widget. I'd press home, and it would do the same thing again. It kept repeating it over and over no matter what I did.I finally powered the phone off, and then turned it back on.After that, there were no further issues. Anyone else had anything like this happen?
View 2 Replies
View Related
Mar 8, 2010
I just discovered this issue - it may be only relevant to 2.1 since I upgraded (or to something else entirely) but when my Eris is plugged in and I use it the Home Screen seems to act crazy - well not that crazy - just that with motion the Homes Screens roll "left( that is to the left most screen) almost like I am using the track ball (but only in one direction) - unplug it and it works fine - its not a major issue but a wierd one - anyone else notice this behavior.
View 11 Replies
View Related
Apr 7, 2010
I wrote a home screen widget with one image on it. When the image is clicked, browser will be opened for a url link.
Generally, it is working. But a weird thing is that, when I click background, then click the picture, the browser will not be open. Until I click the second time on the picture, the browser opens. The steps to reproduce is below:
Click on the home screen widget background.
Click on the image on the home screen. The browser is not opened.
Click on the image again. The browser is opened.
If I didn't click on the background, the image will react to click very well, i.e. browser will be open when the image is clicked the first time.
The widget XML file is as below:
CODE:..................
View 1 Replies
View Related
Sep 7, 2010
Any Android Agenda Widget users here? Downloaded the newest update today (there were a few updates in succession, I think) and it's causing my Droid X to not sleep and it's showing up as Partial Wake Lock the entire time my phone is on. I emailed the developer, but if others are seeing this, please do so as well. It's probably killing many batteries right now.
View 2 Replies
View Related
Jun 14, 2009
I am trying to implement a wake lock for an application.
PowerManager pm = (PowerManager) getSystemService(Context.POWER_SERVICE);
PowerManager.WakeLock wl = pm.newWakeLock(PowerManager.FULL_WAKE_LOCK, "My Tag");
It seems to force close when defining the PowerManager shown in the code above. Whats going wrong?
View 1 Replies
View Related
Feb 18, 2009
I need to cause the display to light up programmatically. Is there an established way of doing this?
View 4 Replies
View Related
Jun 21, 2010
When I receive a call the screen quickly goes blank. What is the best way to keep the screen on and active? This is a problem when your listening to an answer machine asking you to push a certain number to get so-n-so.
View 3 Replies
View Related
Dec 15, 2009
Seems like all of a sudden my Moment never sleeps. I can press the red end call button to put it to sleep, but when I turn it back on after a few minutes or even an hour or so later, when I check spare parts it says under battery history 100% running. The screen is not on and shows a small % and since this started the battery life has gotten horrible again. The only thing I see that is running when I look at partial partial wake usage is android system and it is showing the full bar in blue. Does anyone have any idea what can be causing this problem. When I had advanced task manager installed it showed many things running in the background like music, system update, messages ect ect ect and these programs were never opened by me. I thought maybe this was the program that was running all the time because after I uninstalled it the phone started sleeping. But now it is back to staying awake 100% of the time. Any help would be appriciated.
View 4 Replies
View Related
Jun 5, 2010
I'm wondering if there is another way to wake up the screen besides pushing the power button every time? Is this an Android thing? I believe my roommates Droid does the same thing. I think there are similar threads for this I just suck at searching this forum So are there any alternatives to waking up our screens on the Evo without using the power button every time?
View 49 Replies
View Related
Sep 1, 2010
I have the HTC Incredible. Sometimes when I want to hang up a call I can't get my screen to wake. Does it really sleep in the middle of a call? I feel like I should just be able to touch it and it should give me the hang up option.
Sometimes it responds nicely by lighting back up when I tilt the phone away from my ear and then I can press the hang up button, but other times I have the problem that I just described.
View 4 Replies
View Related
Nov 29, 2009
Is there anyway to disable the initial swipe lock screen and replace with the pattern lock? Seems silly to have a double lock.....the pattern seems much better to me.
View 13 Replies
View Related
Dec 5, 2009
I own a hero on orange with the latest orange firmware. Over the past couple of days I've been having a few problems, mainly with my messengers from what I can see. Sometimes when using ebuddy or meebo, my phone's screen will go to standby (blank) as normal but will not wake up or do any functions. I have to take the battery out of the phone and reboot. I tried re-flashing the firmware just incase but it still does it. I'm trying out hi msn to see if that is any better. Just wondering if anyone else has had this problem and also does it sound like a firmware issue?
View 1 Replies
View Related