[Q] Hibernation (a la Desire HD) - HD2 Windows Mobile 6.5 Q&A, Help & Troubleshooting

Hello everybody!
All of you have already seen how fast Desire HD boots, this is done by utilizing the hibernation mode, which is enabled by default.
Has anybody done any research on hibernation mode?
Does the hibernation mode depend on NAND or can we have this option enabled now with HaRET/SD?
Is this feature something that needs to be incorporated into Kernel, or can it be added as an App?
And at last, the assumption is, that this is a software feature, but is it actually a hardware feature that is currently available only on Desire HD?
Thanks,
-CJ

Desire HD and Desire Z.
Anyway, as from what I know, with FastBoot some vital processes and vital functions are saved into RAM and when the device is "hibernated" the battery is still giving power to it (minimal amount of energy taken, for not causing a loss of data in RAM chips), but almost all HW links are STOPPED.
So when you boot the Linux kernel, it detects that there's a system resume image in device's RAM and won't go on with normal boot, but instead load the system resume image.
And well, I'm not sure if it's the Linux kernel that is doing this or the BootLoader.
Anyway, with HaRET it's impossible because if you put in this "hibernation" mode, you'll have to boot Windows Mobile and the CE kernel will surely erase at least some bytes of the system resume image in RAM and you won't be able to use it.
However, when we'll have NAND installation, we'll have a custom BootLoader... but take in mind that it's easier if it's done only by Linux kernel, 'cause modifying a BL is a little bit difficult than trying to build a module for Linux.
But I can be wrong.

just a quick question. have anyone mesured whats real power consumption when in hibernate ? I mean how long will it take to drain battery compleatly ? Is there any way in Normal Desire (not HD) to plan when to hibernate, and when to boot up (so I could use this method instead of flight mode) when at night ? - other words whats better (less power consumed) - night in flight mode OR night at hibernation - and is there option to set timer to both hibernate and power up ?

Related

Battery

What setting do you guys change that effects battery power the most?
Luke
lukesdiesel said:
What setting do you guys change that effects battery power the most?
Luke
Click to expand...
Click to collapse
Hands down, screen brightness. Nothing comes close to eating power like the screen.
Anyone see a big difference if u turn off vibrate when texting?
Luke
lukesdiesel said:
Anyone see a big difference if u turn off vibrate when texting?
Luke
Click to expand...
Click to collapse
No, but assisted dialing, tell htc, phone finder, and backup assistance drain a ton of batt, just to name a few
Sent from my TBolt using my f***king thumbs...
here is what i do:
turn down brightness (have it ALL the way down at night)
disable GPS (unless i curently need it on)
disable Auto-Sync
disable Background Data (unless i need to use Market)
disable All Animations
use Silent Mode (with all vibration turned off)
disable Phone Locator
disable LED Notifications
disable Fast Boot(if on a Sense rom)
also, i use a program called "Bloat Freezer" (it's 99 cents on Market) to freeze any extra apps that i don't need or want running.
lastly, if i find myself using a Sense ROM for whatever reason, i use "Launcher Pro" and have Bloat Freezer freeze all Sense stuff
To list, in order, the devices and functions that eat the most power inside a Tbolt:
The screen, just being on makes it number one. The radios, especially the LTE radio under heavy use and the CDMA radio at cell edges. The CPU, especially during lengthy write cycles to any NAND device such as the SDcard or eMMC. NAND memory, because it uses higher voltages than RAM to read and write, and takes more time. GPS, because it's a relatively high gain antenna that requires high quality class a signal amplification.
The display isn't anything you're ever going to get around. The radios can be managed through appropriate syncing schedules and avoid resource abuse apps that pointlessly hunt for data. The CPU is best managed with a well built kernel using a sysfs interface that allows custom voltages, choices of scaling governors, and parameter alterations to that scaling governor, as well as conservative garbage collection to keep memory resources as completely used as possible. NAND reads and writes can be kept to a minimum maximized through avoiding app killers, garbage apps such as system resource management apps, zip aligning your ROM, and running an IO scheduler at least as good as Deadline (most kernels do this by default, but some mods attempt to change this). GPS, contrary to the popular myth, is ONLY used when an app summons it's use. Some apps and widgets will abuse this feature and will seek a GPS lock a dozen times an hour or more.
ANY moving electronic part eats power, like vibration motors or speakers. Sound effects less so, but still, that's a a relatively large lump of power being used, and that also calls for the amplifier to be active and eating power.
Using my device as I please, without sacrificing features, usability or constant LTE connectivity, and implementing the theories above as best as I know how to do, I can run my phone OC'd to 1.57GHz for 12 to 14 hours consistently as a moderately heavy user, using nothing more than the stock battery which currently registers all of 1367 mAh's.

[Q] Request time dim/controlling

Apologies i couldnt find the request section(positive there is one) but i was looking for this
A running service that detects the both the time and battery and adjusts your system based off of those things in this way: automatically changes how long it takes to dim/lock the screen and adjust screen brightness. Basically switches between conservative and power mode based off of time/battery and is completely customizable. If this already exists can anyone point me towards it? If not I would use that prog. Ty for your time.
Customize: wifi bluetooth etc.
Also, sent from an Xplay cyan7 if it helps

[Q] Hibernate mode to a faster boot

I was researching about tweaks to speed up the boot process.
My Atrix 4G is taking about 32 seconds to boot.
I see that Galaxy S2 takes "only" about 20 seconds.
But, I was really impressed with HTC Sensation and Huawei Honor U8860.
They boot in only 1 to 3 seconds!!! Incredible.
I researched about they super fast boot, and I found some information that says these two devices don't really shutdown when you turn off it, but they hibernate.
I'm trying to reproduce this hibernate mode here in my device, but without any success.
I tried some tweaks into build.prop, like:
debug.sf.nobootanimation=1
persist.sys.shutodown.mode = hibernate (I extracted this from a HTC Sensation's build.prop)
But, they didn't affected nothing... I continue with 32 seconds to boot, even using a 1,45Ghz overclock on my Dual Core Atrix!
My doubt is:
Is there a way to reproduce this "hibernate mode" in any android, to have a super fast boot?
I'm not sure what Rom your running. But you could try adding the 4 Way Reboot Menu Mod to your Rom. There is a thread HERE on how to do it. I'm running Sense on my device. It has the 6 Way Power Menu. There is a screen shot of my Power Down Menu below. It does boot up considerably faster when it's been in Hibernate vs. Powering Down the normal way.
I'm using CyanogenMod 7 on a Motorola Atrix.
It already have a 6 way menu. But, no one option to hibernate. So, I will need to create a 7 way menu to it.
But, how to add this option to menu?

Reducing Android battery usage

Hello,
I have an Android app that accesses the camera and sends SMS messages. My problem is that the phone will be charged by a battery, so the power usage has to be the minimum.
I realized that the screen consumes most part of the battery. Is there a way to open the camera with the screen blanked?
I also thought to remove the display, but I read that Android performs a hardware test in the boot. The system will boot without the display?
What other ways to reduce power usage in Android do you recommend me?
Any tip will be very helpful,
Thanks
Hello and welcome to XDA Q&A section of the Forums.
If you are rooted and your bootloader is unlocked and your OEM has provided has provided stock ROM images, de-odex them and flash it. Then, remove as many system apps as you can that you don't need using a bloatware remover (I recommend using this app because it tells you if it is safe to remove a system app). Download and install XPosed and install greenify and hybernate all the apps.
Hopefully I was able to help and if I was, hit "thanks"
Screen brightness
Gps and mobile data
Vibration consume more battery.

Using my phone as a wall clock in the kitchen

BACKGROUND:
That's right, a wall clock, in the kitchen.
You see, my old i9100 has been laying in my drawer doing nothing for years.
Inspired by a post on the internet called "18 things to do with your old phone" or something like that, I figured I want to use mine as a kitchen device.
Mostly as a timer when cooking, and maybe as a wall clock (I have a conviniently shaped picture frame on the wall in the kitchen that can hold it). No other uses, so my use is exremly lightweigt.
Since I only cook thrice a week, the phone will be used very seldom.
I am therefore looking for how I can set up my phone for lowest possible battery consumption.
Note that I have taken out the SIM-card so I will not be connected to any carriers.
I figure I need a:
-low power kernel, like dorimanx or siyah
-a ROM that is as bloat free as possible, and barely does anything in the background
QUESTIONS:
-Will keeping the phone in flight mode reduce battery consumption?
-Do you know any ROMs that are as bloat free as possible, and barely does anything in the background?
-Does the Android version (JB, KK, MM, LP) matter in regard to power consumption?
-Should I avoid flashing gapps, do they consume power? (since I won't be using them)
-Any other tips to reduce battery consumption?
Maybe flash CyanogenMod without a Gapps package. Gapps are eating a lot of power, for example Google Play services, which keep running in the background.
Chose an old build, for example CyanogenMod 10.1. Deactivate all unneeded apps via settings. Disable searching for WiFi networks in advanced WiFi settings. Disable GPS, Bluetooth and WiFi. Aeroplane mode is also worth a try.
Just a few ideas. I hope this helps somehow.
recoveryman said:
BACKGROUND:
That's right, a wall clock, in the kitchen.
You see, my old i9100 has been laying in my drawer doing nothing for years.
Inspired by a post on the internet called "18 things to do with your old phone" or something like that, I figured I want to use mine as a kitchen device.
Mostly as a timer when cooking, and maybe as a wall clock (I have a conviniently shaped picture frame on the wall in the kitchen that can hold it). No other uses, so my use is exremly lightweigt.
Since I only cook thrice a week, the phone will be used very seldom.
I am therefore looking for how I can set up my phone for lowest possible battery consumption.
Note that I have taken out the SIM-card so I will not be connected to any carriers.
I figure I need a:
-low power kernel, like dorimanx or siyah
-a ROM that is as bloat free as possible, and barely does anything in the background
QUESTIONS:
-Will keeping the phone in flight mode reduce battery consumption?
-Do you know any ROMs that are as bloat free as possible, and barely does anything in the background?
-Does the Android version (JB, KK, MM, LP) matter in regard to power consumption?
-Should I avoid flashing gapps, do they consume power? (since I won't be using them)
-Any other tips to reduce battery consumption?
Click to expand...
Click to collapse
Find a kernel that allows for undervolting then set the CPU to its lowest setting, you won't need a lot of processor power because what you use it for is not intensive.
Sent from my SM-S903VL using Tapatalk

Categories

Resources