Guest TerryH Posted January 22, 2011 Report Posted January 22, 2011 I am looking for a solution that if the screen turns off the Wifi doesn't turn off too. I am using a static Ip with Dns of my router. I would like have a screen blanker (battery saving) and Wifi on if this is possible. Anybody has an idea for this issue?
Guest zzleezz Posted January 22, 2011 Report Posted January 22, 2011 Something we are all waiting for. Needs an updated kernel (one just dropped) that enables this or kernel source so someone can add it.
Guest ptbw Posted January 22, 2011 Report Posted January 22, 2011 (edited) I am looking for a solution that if the screen turns off the Wifi doesn't turn off too. I am using a static Ip with Dns of my router. I would like have a screen blanker (battery saving) and Wifi on if this is possible. Anybody has an idea for this issue? I experimented with some code I found on GoogleCode that changed the brightness of the backlight. http://code.google.com/p/autosettings/source/checkout but I soon discovered the a brightness of 0 put the Vega to sleep wifi and all. (The brightness level is a float between 1.00 and 0.00) However a brightness of 0.01 looks like the screen is off but the Vega does not sleep........... So I have a pretty basic APK that can turn off the screen when run, press the back button to make it restore to its previous level. I did play with touching the screen to restore the backlight as well but that's still a work in progress. Source is here: http://dl.dropbox.com/u/17486207/BackLightKiller.zip Since the WiFi is a large part of the battery drain I did not notice that much improvement but you are welcome to give it a try: APK is here: http://dl.dropbox.com/u/17486207/BackLightKiller.apk Please reply if you do actually find it useful. Edited January 22, 2011 by ptbw
Guest andycap Posted January 22, 2011 Report Posted January 22, 2011 Hi. I have taken the liberty of adding an icon to the App and also have it exiting when screen is clicked. Hope you don't mind. http://dl.dropbox.com/u/1168527/BackLightKiller.apk
Guest ptbw Posted January 22, 2011 Report Posted January 22, 2011 Hi. I have taken the liberty of adding an icon to the App and also have it exiting when screen is clicked. Hope you don't mind. http://dl.dropbox.com/u/1168527/BackLightKiller.apk No problem, as I said it was a work in progress.
Guest debs626 Posted January 22, 2011 Report Posted January 22, 2011 (edited) I experimented with some code I found on GoogleCode that changed the brightness of the backlight. http://code.google.com/p/autosettings/source/checkout but I soon discovered the a brightness of 0 put the Vega to sleep wifi and all. (The brightness level is a float between 1.00 and 0.00) However a brightness of 0.01 looks like the screen is off but the Vega does not sleep........... So I have a pretty basic APK that can turn off the screen when run, press the back button to make it restore to its previous level. I did play with touching the screen to restore the backlight as well but that's still a work in progress. Source is here: http://dl.dropbox.com/u/17486207/BackLightKiller.zip Since the WiFi is a large part of the battery drain I did not notice that much improvement but you are welcome to give it a try: APK is here: http://dl.dropbox.com/u/17486207/BackLightKiller.apk Please reply if you do actually find it useful. You Sir are awesome, thanks very much for this, I think its going to prove to be a very handy tweek for many . I greatly appreciate your time and effort :) and thanks to andycap for adding the icon and exit function :lol: Maybe this needs to be put in a seperate (renamed) post Edited January 22, 2011 by debs626
Guest Ste_B Posted January 22, 2011 Report Posted January 22, 2011 You Sir are awesome, thanks very much for this, I think its going to prove to be a very handy tweek for many . I greatly appreciate your time and effort :) and thanks to andycap for adding the icon and exit function :lol: Maybe this needs to be put in a seperate (renamed) post. Totally agree! Nice little app this.
Guest TerryH Posted January 23, 2011 Report Posted January 23, 2011 Thank you for this nice idea! I am using this at the moment for 3G-tethering from my small Android device to the Vega, this app lets the device on, otherwhise my WiFi connection cracks up...
Guest Sir Gash Posted January 23, 2011 Report Posted January 23, 2011 Thanks guys, I've been look for a solution to this problem for weeks! I can finally stream some music on the Vega to go to sleep to. Cheers!
Guest SilentMobius Posted January 23, 2011 Report Posted January 23, 2011 Please reply if you do actually find it useful. While this apk isn't actually useful to me, I must applaud the work you've done as it answers one of the main questions I've had regarding the backlight/wi-fi connection. I was _very_ worried that power for the wi-fi chipset was slaved directly from the power line to the display backlight, you've now proved that incorrect. This means that when we get kernel source it should be a simple job to decouple the wi-fi from the backlight. Yay!
Guest simonta Posted January 23, 2011 Report Posted January 23, 2011 I experimented with some code I found on GoogleCode that changed the brightness of the backlight. http://code.google.com/p/autosettings/source/checkout but I soon discovered the a brightness of 0 put the Vega to sleep wifi and all. (The brightness level is a float between 1.00 and 0.00) However a brightness of 0.01 looks like the screen is off but the Vega does not sleep........... So I have a pretty basic APK that can turn off the screen when run, press the back button to make it restore to its previous level. I did play with touching the screen to restore the backlight as well but that's still a work in progress. Source is here: http://dl.dropbox.com/u/17486207/BackLightKiller.zip Since the WiFi is a large part of the battery drain I did not notice that much improvement but you are welcome to give it a try: APK is here: http://dl.dropbox.com/u/17486207/BackLightKiller.apk Please reply if you do actually find it useful. Hi ptbw Nice work for the good people of this town. Thank you. You might want to think about some enhancements then push this onto the market? I'm sure other Android user other than Vegans would appreciate your work. If I may make so bold: If you register a broadcast receiver, you can receive a message from Android when the system is putting itself to sleep. http://developer.android.com/guide/topics/...er-element.html You could then cancel the sleep and apply your brightness setting. http://developer.android.com/reference/and...werManager.html You could further enhance it by adding a timer so it does this automagically at a time the user sets. Cheers Simon
Guest simonta Posted January 23, 2011 Report Posted January 23, 2011 For those bugged by the slow connect after resume, Wifi Static on the market will help a great deal. There's an existing thread somewhere on here covering this. You do need to understand DHCP vs static addressing and be comfortable with configuring your router but if this is old hat to you, Wifi Static will make connection after resume much faster as Android seems to be really slow with DHCP. Cheers
Guest ptbw Posted January 23, 2011 Report Posted January 23, 2011 .. If you register a broadcast receiver, you can receive a message from Android when the system is putting itself to sleep. http://developer.android.com/guide/topics/...er-element.html You could then cancel the sleep and apply your brightness setting. http://developer.android.com/reference/and...werManager.html You could further enhance it by adding a timer so it does this automagically at a time the user sets. Interesting, if I ever get any free time I will have a play. Although most devices would not behave like the Vega so I can't see it being worth while outside our "burg".
Guest English Haze Posted January 23, 2011 Report Posted January 23, 2011 I have taken the liberty of adding an icon to the App and also have it exiting when screen is clicked. Hope you don't mind. Would you mind posting the source with your amendments? I'd be interested to see what changes you made.
Guest andycap Posted January 23, 2011 Report Posted January 23, 2011 Would you mind posting the source with your amendments? I'd be interested to see what changes you made. Yea sure. Here you go. http://dl.dropbox.com/u/1168527/BackLightKiller.rar
Guest remlap Posted January 23, 2011 Report Posted January 23, 2011 (edited) Hope you don't mind I tided up the icons a bit and renamed it Back Light so it would look okay on my desktop Great application mate! http://dl.dropbox.com/u/19406154/Back%20Light.apk Edited January 23, 2011 by remlap
Guest xathras Posted January 23, 2011 Report Posted January 23, 2011 For those bugged by the slow connect after resume, Wifi Static on the market will help a great deal. There's an existing thread somewhere on here covering this. You do need to understand DHCP vs static addressing and be comfortable with configuring your router but if this is old hat to you, Wifi Static will make connection after resume much faster as Android seems to be really slow with DHCP. Cheers Thanks for the heads up on WiFi Static. Much faster reconnect. :lol:
Guest AndyCr15 Posted January 24, 2011 Report Posted January 24, 2011 Sounds interesting. Does the screen still respond if I accidentally swipe across it though?
Guest debs626 Posted January 24, 2011 Report Posted January 24, 2011 Sounds interesting. Does the screen still respond if I accidentally swipe across it though? Yes it does
Guest Gavin Posted January 24, 2011 Report Posted January 24, 2011 Just chiming in with my thanks for this app, seriously good work.
Guest MrChaz Posted January 24, 2011 Report Posted January 24, 2011 Unless I'm missing something that's special to the Vega when you turn the screen off it puts the device into a sleep mode. If you don't want that behaviour a program can acquire a lock that will keep the machine active, if people are interested I'll knock something together
Guest Sir Gash Posted January 24, 2011 Report Posted January 24, 2011 Unless I'm missing something that's special to the Vega when you turn the screen off it puts the device into a sleep mode. If you don't want that behaviour a program can acquire a lock that will keep the machine active, if people are interested I'll knock something together If you are referring to a 'partial wake lock' then I have a feeling the Vega does not adhere to it for whatever reason, I have tried many apps using this method to keep the device alive during standby with no success. However, please give it a try as any solution is welcome! I will be happy to beta test anything you can offer :lol:
Guest ptbw Posted January 24, 2011 Report Posted January 24, 2011 (edited) Unless I'm missing something that's special to the Vega when you turn the screen off it puts the device into a sleep mode. If you don't want that behaviour a program can acquire a lock that will keep the machine active, if people are interested I'll knock something together The brightness of the screen and sleep mode are linked. Setting the brightness to 0 puts the machine to sleep ( no wifi, no nothing ) apps that on other devices leave the WiFi in standby on don;t seem to work on the Vega. This app sets the brightness to 0.01 so turning the backlight off but leaving the machine running so for example you can stream music without the glare of the screen. HTH Edited January 24, 2011 by ptbw
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now