[Q] Automatic turn ON and OFF - Android Software Development

Hi everyone,
Today, it's easy to turn OFF Android OS (so the phone or tablet) at a defined time.
But to turn it ON automatically with a app it's impossible because the software is not running.
I have a Xperia X10, when I was under Android 1.6, the phone automatically turn ON when I plug the charger, but now under 2.2 it doesn't work...
So, are you aggre with me that it come from the kernel ?
Do you know what to modify in the kernel to make it work ?
Thank you in advance.

just like android phones can't wake themselves for an alarm, it won't be able to remember a specific time to turn itself on.

Thank you for your reply.
There is a way to make it turn on on power supply, that's finally my question.

Related

turn off completely

Hello,
usually with newer PDAs - that originally come with WM5/6 - you can turn them off completely (makes sense during the night for example).
Is this possible with BlueAngel - upgraded with WM5/6 (Helmi) somehow ?
thank you.
no you cant turn them off 100%
windows mobile was made to keep running
no matter what to keep the clock running
to keep notifications being able to start and play their alarm
and to turn on to let calls come in
incubus72 said:
Hello,
usually with newer PDAs - that originally come with WM5/6 - you can turn them off completely (makes sense during the night for example).
Is this possible with BlueAngel - upgraded with WM5/6 (Helmi) somehow ?
thank you.
Click to expand...
Click to collapse
It makes sense to stop PDA completely if you are using it just for word, excel or as a music player, but if you are using it as a phone, clock and alarm unit, instant emails, then you cant turn it off completely though it can go to Power Save mode.
Turn down the volume, turn on flightmode and put into standby. Of course, alerts and notifications can still occur (That's the point!) but they won't bother you.
There's no actual need to turn it off completely.
hello,
i would like to turn off completely since
- every time when a notification comes up - the screen turns on - and sometimes it happens that i hit the screen or a button in the pocket ...
- i'd like to save battery
but i guess that's not pissible ?
thank you.
Yes, it is possible, but not the way you would like it: Take the battery out for a second, and then put it back. Device won't turn itself on. So far this is the only method. This device was never meant to be used with WM5/6, that's why it does not support many of the required features of this OS.
Hello,
i like the idea with the akku. but one more thing: what about the internal backup- akku ?
when i take the (normal) akku out - and put it back in - does the device run on the backup-battery until i turn the device on - or does it recognize immediately the (normal) akku is there, and uses it ?
you know, or do i have to try ?
thank you very much.
andreas
Take the battery out to save battery life - you'll lose some settings (namely the clock) but nothing major. Though the standby life is good.
Also, lock the device and tell it not to allow any other button pushed when locked. Should do the trick
incubus72 said:
hello,
i would like to turn off completely since
- every time when a notification comes up - the screen turns on - and sometimes it happens that i hit the screen or a button in the pocket ...
- i'd like to save battery
but i guess that's not pissible ?
thank you.
Click to expand...
Click to collapse
As others said - turn all radio off in the comm manager. then just lock the screen (on to today screen, tap on "Device unlocked"). Now, even if the device comes on, there's no problem. And battery consumption is minimal, I think. Oh, and change "Start-Settings-Buttons-Lock" to "Lock all buttons expect power button".
Stefan

Alarm when turned off???

Hello all!
I wonder if its possible to have an alarm on the phone when turned of. Ive searched everywhere for some answers.
I want to shut down the phone at nights and I want the phone to start up and wake me up hehe
I just tried it 2 times , and it doesn't seem to work with klaxon.
Sorry mate i think you should keep it on if you don't want to be late tomorow
Its hilarious that a phone this new doesnt support that kind of alarm. All of my other phones works that way....
It's not a phone, it's a smartphone, pretty much a small PC...
So if you poweroff your desktop, usually not much it can do
That's the same, workaround is to use PlaneMode (along WirelessTime freeware in example)
This way, it wont be off at all..
Like for PDA, you usually never power off this kind of system. You put it in standby mode instead (either automatically or manually)
And the alarm works well with the HD is in stanby mode. It will wake up and ring.
Note that the usual phone are in some kind of standby mode, not fully powered off otherwise the alarm wouldn't work either !
you can switch off the phone part in standby mode and it will give you busy signal though reminders and alarms will work.

Why alarm doesn't wake me up if Xperia is off?

Hello! I'm new but I have a big problem. In the enening when I go to bed I often turn off my Experia so I'm not interrupted at night and I can save my baterry. But the problem is that alarm in the morning doesn't want to ring and doesn't want to turn Xperia on back. I found recently the page on the web where somenoe said that it needs to be doen some hidden tweaks so that the WM doesn't try to look how full the baterry is before it sturts up. I can't find that page on the web again so can someone help me with this settings?
Than you.
use flight mode.
x1 cant wake up when off
I don't think any Windows Mobile phone is capable of waking itself up when it's powered down.
you probably use just as much power turning the phone on as you would have used leaving it in stand by..... just sayin'
OK, so I have tried flight mode and it works but anyway does anyone know the hidden settings to change verifiing battery from wm before it turns on again?
Oh, and another problem on my Xperia. I noticed that when I don't use it the screen (backlight) aproximetely every once in 2 minutes turns on again (my power settings are: turn backlight off after 30 sec, standby mode after 1 minute). I think that why battery last only 3 days. Can anyone know how to fix this problem? Thanks.
donci3 said:
OK, so I have tried flight mode and it works but anyway does anyone know the hidden settings to change verifiing battery from wm before it turns on again?
Oh, and another problem on my Xperia. I noticed that when I don't use it the screen (backlight) aproximetely every once in 2 minutes turns on again (my power settings are: turn backlight off after 30 sec, standby mode after 1 minute). I think that why battery last only 3 days. Can anyone know how to fix this problem? Thanks.
Click to expand...
Click to collapse
Change your configuration : Settings / system/ ilumination (check here the items you have enable or disable "enable ilumination".
Well basically, your device is off when you turn turn off the screen.
Not quite. You can always leave a lot of applications running with the screen off.
So what kind of setting to save as much as it can for battery or what kind of app du you recomend?
First, as someone already said, a WM device can not turn itself on when powered down.
To conserve battery... well just make sure no CPU intensive apps are running in the background, wifi, BT, data connection are off and use auto backlight setting.
Most smartphones don't turn themselves on for alarm (WM, UIQ Symbian, S60 Symbians), but i can't tell for all (iPhone does as i've heard, no idea about Android).
PDA is not Mobile Phone.
It has operation system etc.
To run PDA you need about 1 minute for loading all components of OS.
To run Mobile Phone Alarm needs no load components of OS, just display and sound.
In PDA sound can be played with help of driver and so on.
In Mobile Phone just tiny assembler program and clock-chip.
I know my alarm worked before with Touch-It rom. But since I flashed with WM6.5 and my alarm doesn't go off when the screen is off. There's no way around this?
I can't trust the alarm at all, it sometimes works, sometimes doesn't. Same on stock rom and 6.5. G-alarm is much better though..
Are you talking about turning the phone off completely,or turning off to the standby stage ? If you use the standby stage, it works fine, and hardly uses any power in this mode.

Power control of the Vogue

Maybe this shows that I am a noob, but here it goes.
I want to save my battary power when running the GPS, but all the power saveing settings turn the phone onto standby, thus loosing GPS lock (and when I am using my better bluetooth GPS, it locks out the bluetooth and I have to re-boot). Is there some why to just turn of the screen? Is that "an app for that"? I am currently trying out SVM Power Manager, but you can not set it to turn the screen off in 2 minites or whatever. To use it how I need, I would have to turn off the OS's power saver, and always manualy turn off the screen using SVM Power Manager. All the power manager apps I have seen work like that.
Help!
you will probably have to buy an extended battery man. i think even real android phones batteries drain pretty quick from what i hear.
Did some testing. It seems that the battery will last for about 5h with the screen of (using SVM Power Manager to turn it off), and the GPS running (GPSed running it).
Understood that the battery is just under powered, but I was wondering if there was a way to make the screen automaticaly turn off after X amount of time, but not have the phone go into standby.
I also bought one of those battery powered battery chargers (battery extender). But the one I got turned out to have only 500mAh (compared with 1100mAh in the phone battery), so it turned out to only help a bit. Maybe I will try to make one with a voltage regulator and a rechargable 9V battery
I think one of the pmsleepmodes may support this (in default.txt) Try 2 or 3. It seems like one of these didnt do a full power collapse, but did turn the screen off.
katmandu421: I am not familiar with this stuff. Can you give me a bit of a more detailed explination?
Is this a built in windows mobile funciton. Can I access this in the registry?
I love it how most of us would assume he's talking Android. Yes in android, editing your default.txt to sleep mode 0 would turn off the screen, but not sleep the system. 1,2, or 3 would allow the different system board types used in various Vogues to go to sleep.
WinMo however is a different story. The GPS in the Vogue is a low power chip, but from everything I can gather is requires the system to stay fully awake. If you find an app that allows you to turn off your screen, post back but I don't believe there is much hope to that. Windows seems to think that when the lights go out, it's sleepy time.
Also, the radio on the Vogue doesn't sleep, and it's use to wake up the phone i.e. incoming calls. The GPS is part of the radio so if there is a way to keep the system board awake, in theory it should work.
SVM Power Manager will turn off the screen while keeping everything awake, but it is not automatic. I have maped the camera button to this program, so it is not a huge hassle, but I realy would like to have it automatic.
Will consider installing Android.
Titus_Andronicus said:
SVM Power Manager will turn off the screen while keeping everything awake, but it is not automatic. I have maped the camera button to this program, so it is not a huge hassle, but I realy would like to have it automatic.
Will consider installing Android.
Click to expand...
Click to collapse
Did anyone ever figure out how to do this? I'm trying to figure this out as well. After finally getting GPS to work, now I'd like to be able to use some apps that need to run when in standby.
mnations said:
Did anyone ever figure out how to do this? I'm trying to figure this out as well. After finally getting GPS to work, now I'd like to be able to use some apps that need to run when in standby.
Click to expand...
Click to collapse
Check on Dev&Hacking. An app just came out today that does exactly what you are asking for here.
http://forum.xda-developers.com/showthread.php?goto=newpost&t=707458
Enjoy
egzthunder1 said:
Check on Dev&Hacking. An app just came out today that does exactly what you are asking for here.
Enjoy
Click to expand...
Click to collapse
Thanks! That looks like a handy app.
An update (in case anyone hits this thread later)...I made this one change which seemed to clear up all of the problems (found elsewhere but can't post outside link yet.)
[HKEY_LOCAL_MACHINE\Comm\ConnMgr\Providers\{7C4B7A3 8-5FF7-4bc1-80F6-5DA7870BB1AA}\Connections\Phone as Modem]
"Enabled"=dword:00000000"
Now this is in conjunction with QuickGPS and all the other fiddling I've done, so I don't if this alone is responsible.
However, when running Google Maps or other GPS applications I get a lock within 5-15 secs. Also, when coming back from standby it's able to re-lock in the same amount of time. This normally required a soft restart before.
For apps that track your routes, such as SportyPal which I've been using for mapping my bike rides, they can keep a lock even in standby mode. I'm not sure if the app itself is able to hold a lock or if QuickGPS may be helping it. Either way it works.

Bluetooth shutting off

Hello all,
I will start off by saying I'm running the Nougat Beta, I loaded that first day so I don't have anything else to compare this behavior to. Anyway I have a Huawei smartwatch connected through Android wear via Bluetooth. What I have noticed is that the Bluetooth radio on the phone shuts off (not sure if this is an automatic power saving, I did check and I am not running in any power saving mode). I can go back in and turn it on, but then after some time it shuts back off. Any ideas? Has anyone else seen this? Any help would be appreciated.
Thanks in advance.
scadilla said:
Hello all,
I will start off by saying I'm running the Nougat Beta, I loaded that first day so I don't have anything else to compare this behavior to. Anyway I have a Huawei smartwatch connected through Android wear via Bluetooth. What I have noticed is that the Bluetooth radio on the phone shuts off (not sure if this is an automatic power saving, I did check and I am not running in any power saving mode). I can go back in and turn it on, but then after some time it shuts back off. Any ideas? Has anyone else seen this? Any help would be appreciated.
Thanks in advance.
Click to expand...
Click to collapse
That's weird I have a first generation zen watch and have no issues on any of the firmwares including nougat beta.

Categories

Resources