[Solved] Llama: How can I enable/disable deep-sleep mode? - Defy Q&A, Help & Troubleshooting

I use Llama on my Defy+ (Kayant's Slim Bean 3.1.0 ROM) to monitor my wifi for a minute every X minutes (it's more complex than that, but this explanation will do). However, it appears that the wifi check times out after the phone goes to deep-sleep.
Reading around I found Deep Sleep Battery Saver's thread, which seems to imply that wifi will not work when the phone is in deep-sleep.
I do not want to use Deep Sleep Battery Saver as its behaviour is not as flexible as the scripts I have in Llama. Thus, I'd like to be able to turn on/off deep-sleep from within Llama (either by calling an application that does it, or invoking an Android Intention that does).
Anybody knows if what I want to do is possible, or will it require a change to llama itself?
EDIT: Thanks! I know how to fix it now I am trying a different Wi-Fi Keep Alive app, though, we'll see how that goes.

Re: [Q] Llama: How can I enable/disable deep-sleep mode?
https://play.google.com/store/apps/....wakemyandroidpro&feature=more_from_developer
There is an option in WiFi-Advance- Keep WiFi on during sleep: Set that to always
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sent from my MB526 using xda premium

Related

[TIP] A simple way to Turn Off G/2G/3G/H without going into Air Plane mode

This is more of a work around to the problem of not having a compatible software app for the SGS to easily Switch between the different data modes to either save battery or prevent unnecessary 3G data on limited data plans
(I tried all the 2G/3G switchers and other alikes, but none were compatible with our SGS)
There's a simple way to Turn Off G/2G/3G/H without going into Air Plane mode is by simply creating a null or empty APN setting profile like this:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
using the same method you can create an APN profile that is only for MMS, this way you can still get SMS/MMS and Phone calls, without incurring extra data or wasting power on GPRS/EDGE/3G/3.5G
I used APN on/off fro Market....works great.
Sent from my GT-I9000 using XDA App
ahh... great suggestion, this one actually works!
APN on-off Widget
all the other ones i've tested previously didn't do what it's supposed to do, all of them only takes you to the APN page with was kinda useless
added to my list of good apps
http://forum.xda-developers.com/showthread.php?p=7840748

Xperia X10 Flightmode

Did a quick search and couldn't find this posted.
Just to let everyone know the the gps wifi and bluetooth work in flight mode on stock 2.3, which is useful sometimes.
Just wish my sgs2 did that as well.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Bluetooth doesn't
Sent from my bavarian castle
Wifi Confirmed!
Selecting flight mode is different now! You have to press flight mode when you hold on/off button... If you release it, screen turns off
Sent from my X10i using XDA App
Bluetooth does on stock 2.3. both sending and receiving works in flight mode
Hanzo.Hasashi said:
Bluetooth doesn't
Click to expand...
Click to collapse
it does turn automatically off, but can be enabled, as can WiFi. Both work, but phone calls are disabled.
This is a good thing, you can sit there with the BT running and watch/listen to whatever. Planes often now have wifi setups, too.
This also worked in 2.1 but for some reason getting wifi to work in flight mode would only work using a widget such as 'SwitchPro'

Phone app wake lock 11k times

So I've been having this issue on now two Roms. I rarely use the phone app and it's waken my phone over 11k times. It's killing my deep sleep. Anyone know why? I tried using Google for the issue but found something about fast dormancy which T-Mobile does support. I have a T-Mobile based rom buckeye which runs 4.2.2. Also have dorimanx latest kernel. Anyone know what may be going on?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sent from my LG-D801 using Tapatalk
I have never seen that before use greenify to clear those wakelocks
Sent from my LG-VS980 using Tapatalk
Phone with nlpcollector wakelock means that something is trying to find your position/location using WiFi&mobile network location option under GPS,,, try disabling that option under GPS and hopefully the wakelock will clear out.
Still u need to find out what app is constantly asking for ur location and greenify that if u need that option enabled.
I personally keep GPS off and manually enable it whenever needed to enable any wakelocks it may cause.
The Phone: LG G2 D802.
The Rom: Aeonflex latest.
The Kernel: Always Dori Powered.

Weird gps turning on by itself

Is it possible to check which app has used the gps? Afaik Android has no such way which is annoying. Correct me if I'm wrong.
(my location is always set on high accuracy btw, which means it is a combination of both network location and gps. Afaik there shouldn't be any gps related drain even if the gps option is enabled, as long as it is inactive for the whole period)
The gap between the picture is the time I slept, (left phone completely idle) yet something seems to be using the gps to get a lock. Obviously I live indoors so the gps will fail to get a proper lock. I presume it will continuously try to get a gps lock (draining the battery) until some timeout kicks in.
Note for the whole duration my mobile network was set to 2G.
Getting high Msim_hsic_host wakelocks too. No idea how to get rid of them. I also used these aggressive amplify settings
forum.xda-developers.com/galaxy-s4...unbounce-wakelock-alarm-t2918358/post56350973
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Did you allow Google to track your location when you set up your account on the S4?

Looking for help with Always on Display customization!

I use my phone in the car for navigation, music, etc. However, not every trip requires me to have the phone display on. If I'm running into town, I don't need navigation of course.
However, I also like the Always On Display, but in the car the phone is in landscape orientation, and Samsung couldn't be bothered to make the AOD orient itself in anything but portrait mode, as I'm sure everyone is aware of.
What I'm wanting, and asking, is there a way using Tasker, Automate, Automateit, etc. to toggle the Always On Display off when my car dock app launches, and then turn it back on again when the car dock app closes?
I tried using all three of those with no luck, I just don't understand some of the complex "languages" they use to describe processes and such. If anyone could help me with this I would greatly, greatly appreciate it.
Same question.
Any ideas?
In Tasker, use any method that allows you to set "aod_mode" system variable
I'm currently using the (old and unsupported but still working for some of its features) Secure Setting Tasker plugin
Here's the setup to set AOD Mode to "on":
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Set the value to "0" to disable

Categories

Resources