Low power consumption in a non mobile application - General Questions and Answers

Hi !
In a non mobile application which is powered by a battery and it has to be powered on during weeks without recharging it.
Is Android suitable?
Android has a power management feature, but can we control it or is it something "automatic" ?
I know that in Linux there are "power managers" called APM or ACPI, they allow the user to control at a very low level the hardware consumption and put the device in Idle mode alowing output interruptions to wake up the chip.
Is there a possibility to do the same with Android? Is Android suitable for a very (very) low consumption application (without any screen of course) ?
Thanks in advance !

Nobody ?

Tagadac said:
Hi !
In a non mobile application which is powered by a battery and it has to be powered on during weeks without recharging it.
Is Android suitable?
Android has a power management feature, but can we control it or is it something "automatic" ?
I know that in Linux there are "power managers" called APM or ACPI, they allow the user to control at a very low level the hardware consumption and put the device in Idle mode alowing output interruptions to wake up the chip.
Is there a possibility to do the same with Android? Is Android suitable for a very (very) low consumption application (without any screen of course) ?
Thanks in advance !
Click to expand...
Click to collapse
There are power control features in android but you aren't going to get an android device to run anything for weeks without recharging, regardless of how low the power consumption is. The only way an android will last that long without charging is to stay powered on in deep sleep but it consumes virtually no power in this state, it isn't running any processes during deep sleep either, which means your app won't be running so that does you no good.

Thanks for your response !
That's what I thought... But when I am in deep sleep, its like I'm in airplane mode with my phone right? But I can wake it with the button.
But if I'm not in airplane mode, is the CPU in deep sleep? Or there is a wakelock for the GSM?

Tagadac said:
Thanks for your response !
That's what I thought... But when I am in deep sleep, its like I'm in airplane mode with my phone right? But I can wake it with the button.
But if I'm not in airplane mode, is the CPU in deep sleep? Or there is a wakelock for the GSM?
Click to expand...
Click to collapse
The details of that may be different depending on the parameters of the kernel the device is running and or its power management.

Related

Help: Batter savings on car mounted tablet

Hello,
I wanted to get some suggestions on how i can save battery power on my Xyboard 10.1" Verizon LTE tablet mounted on the dash of my car.
Running Android 4.0.4.
It's power is USB hardwired to a 3v plug (done professionally by local shop) that only gets power when i turn my car on.
I'm using Tasker to launch tasks based on it's power state.
USB power off:
- mobile data off
- wifi off
- bluetooth off
- kill app Sirius
- kipp app Poweramp
- go home
- screen off
USB power on:
- wait 1 second
- mobile data on
- wifi on
- bluetooth on
- toggle bluetooth
- toggle bluetooth (to make sure it connects to bluetooth audio receiver attached to car's stereo headunit)
- launch app Sirius
Is there a "super sleep" mode that i can launch from tasker that will shut everything down except for a trickle of the Android OS listening for a wakeup command?
I noticed under Tasker's display actions these 2 options:
- Lock
- System Lock
does anyone know what they do? Will activating these conserve battery power?
I'm basically asking how to put my tablet into the deepest sleep possible, while still allowing it to wakeup with USB charging power on.
many thanks!
Spending such a high percentage of time at 100% battery charge is actually bad for the battery. So, whether or not you run on battery power, you will inevitably notice a decrease in battery life over time.
If you're not going to use your car for an extended period of time, you could power the tablet off, but you probably already knew that.
Do you leave the tablet mounted in the car at all times, or do you take it with you like a cell phone?
(Sorry, I do not know the answers to your questions about Tasker.)
post-mortem said:
Spending such a high percentage of time at 100% battery charge is actually bad for the battery. So, whether or not you run on battery power, you will inevitably notice a decrease in battery life over time.
If you're not going to use your car for an extended period of time, you could power the tablet off, but you probably already knew that.
Do you leave the tablet mounted in the car at all times, or do you take it with you like a cell phone?
(Sorry, I do not know the answers to your questions about Tasker.)
Click to expand...
Click to collapse
Interesting point about keeping battery at 100%...makes sense.
i leave the tablet in the car always...the mounting bracket has a keyed lock.
however, even after i turn off data,wifi,gps,etc, i still loose 10% battery over a 12hr period. that's very acceptable.
Do you know of an app that puts the phone/tablet into deep sleep (instead of me using tasker to turn all off)?
chumboy said:
Interesting point about keeping battery at 100%...makes sense.
i leave the tablet in the car always...the mounting bracket has a keyed lock.
however, even after i turn off data,wifi,gps,etc, i still loose 10% battery over a 12hr period. that's very acceptable.
Do you know of an app that puts the phone/tablet into deep sleep (instead of me using tasker to turn all off)?
Click to expand...
Click to collapse
improve system Parameters.improve cpu Parameters
onexuan said:
improve system Parameters.improve cpu Parameters
Click to expand...
Click to collapse
huh? can you explain more?

Why not a "Deeper Sleep" (For Tablets)

I'm always impressed with how an ipad can keep it's battery life for so long when it's sitting around dormant, yet the Android tablets (like my TF101) seem to leak battery life constantly.
A tablet is not a phone (that needs to always be kept alive somewhat for IM's, phone calls, emails, etc)......, so why can't a custom kernel implement a "DEEPER SLEEP" option. When enabled, when the device goes to deep sleep, and nothing is going to wake it up except for the power button (or lid open). No more wakelock issues, nor rogue apps accessing data, or doing all the troubleshooting to find these apps that drain the battery during sleep cycles. It's like windows PC "sleep" mode...just enough power drawn to keep it's data in memory.
Most likely there is a reason for it...but I don't know what it is.
FYI: I already use tasker to put the device into airplane mode when I turn the screen off, until I unlock it, which helps a great deal.
Have you tried CPUSpy to see how much Deep Sleep your TF101 is actually getting?
Some people use BetterBatteryStats to see which apps are preventing the tablet from Deep Sleep.
Oh and there is a discussion about battery-leaks during sleep here
Theziggy said:
Have you tried CPUSpy to see how much Deep Sleep your TF101 is actually getting?
Some people use BetterBatteryStats to see which apps are preventing the tablet from Deep Sleep.
Oh and there is a discussion about battery-leaks during sleep here
Click to expand...
Click to collapse
Yep...many apps, many ways to snoop.
What I was proposing was a way to make all that unnecessary. A sleep mode that is unwakeable by apps.
sbliner said:
Yep...many apps, many ways to snoop.
Click to expand...
Click to collapse
In the BetterBatteryStats App - you can turn off all Internet reporting/Knowledge Base accessing etc, so no snooping.
There is an app that claims to put android into Deep Sleep
Description
Deepsleep battery saver constantly puts the device to deepsleep mode while screen off
LifeHacker: "Plenty of apps save your battery life, but this one takes the idea to a whole new level"
Click to expand...
Click to collapse
CPU Spy tells me that my TF101 enjoys a good night's deep sleep when the screen is switched off and wifi off.
I hate to be comparing apples to oranges but Apple builds specific hardware for their own software. Android development is the complete opposite. Many manufacturers with many different components that require many different drivers and most companies with Android seem to drop support quickly and stop supporting new versions of android. Lucky for all of us xda is around !
Sent from my Transformer TF101 using Tapatalk

just a doubt..can doze mode used to wake device?

doze mode always listening to motion sensor even if display is off or deep sleep.. can we use it for waking the device if we pick up.. some apps currently gets it done.. but with wakelocks.. this will be awesome if we can use it without battery drain
am no developer, no idea about how Android internally works.. just got a thought and asked about possibilities.
sorry for my English
thank you

Prevent medium power saving mode from disabling background location access?

Ive got a SM-N770F/DS and I always have medium power saving mode on. I have also always had an issue with Google Maps not wanting to detect location after I turn the screen off. I assumed it was a google issue until I turned optimized power saving mode on today and Maps suddenly started reading my location and giving directions while the screen was off. Is it possible to disable the "prevent background location access" part of medium power saving mode? Long pressing my power saving settings doesnt give any options to do this, im thinking my only option is to root. Would rooting fix this? If so, does anyone know of some roms on here that would allow me to do this? I dont care about much else from the rom, I like the phone as is and this is the only issue I have with it
Do not toggled on any power management other than the power mode (optimized) and fast charging.
They screw up functionality and increase battery usage on my unrooted 10+ running on Pie.
In Developer options>standby apps all buckets should show as active otherwise power management is active. Android will manage apps well without any power management options turned on. Track down any remaining battery hogs on a per case basis and deal directly with them. Sometimes closing the window gets it done like with Brave. Others need to be dealt with by package disabler and/or Karma Firewall.
This may or may not help you.
Gmaps is crapware. Runs best on original factory load and is a parasitic drain wanting to constantly run in the backup from boot sucking up battery and bandwidth.
Unlike you my goal is to keep it from doing this
Also review Gmaps notification and other settings. It's a mess; buried settings galore.
blackhawk said:
They screw up functionality and increase battery usage
Click to expand...
Click to collapse
blackhawk said:
Android will manage apps well without any power management options turned on
Click to expand...
Click to collapse
I feel like I have experienced the opposite. I felt like my battery was draining faster with optimized on today (2nd pic) compared to the past few days with medium power saving on (first pic). Obviously more testing needs to be done to see. Going off of the pics I lost about 50% each day, so optimized seems to be worse for battery life but the reduced screen on time makes up for it in this scenario

Android seems frozen with black screen

Android 9 on a Samsung SM-T290 tablet.
Had used my tablet, turned off screen (click Power once), and put it down. Some unknown time later, picked up tablet, clicked Power once, screen did not come on. After clicking Power a few times, held Power down thinking somehow tablet had shut itself off completely. Instead of booting, I got the choices "Power off / Shutdown" and "Reboot". Shutting down and rebooting worked. No sign of problems.
Some time ago I noticed my Uptime seemed large -- I think 400 to 600 hours.
What would cause Android to get itself into a state in which it is still running enough to offer a Power Off menu, but in which it refuses to light up the screen?
In particular, is there any problem with running too long without shutting down and rebooting?
J.Michael said:
...
What would cause Android to get itself into a state in which it is still running enough to offer a Power Off menu, but in which it refuses to light up the screen?
Click to expand...
Click to collapse
My guess is that in your Android the Doze mode is enabled.
FYI:
Starting with Android 6 Marshmallow, the Doze mode feature was introduced. This feature is designed to give a new breath of fresh air to battery consumption and in general battery life.
xXx yYy said:
My guess is that in your Android the Doze mode is enabled.
FYI:
Starting with Android 6 Marshmallow, the Doze mode feature was introduced. This feature is designed to give a new breath of fresh air to battery consumption and in general battery life.
Click to expand...
Click to collapse
No match when I Search Settings for "doze".
Under Battery -> Settings there is an
Optimize settings​Save battery by optimizing your settings when you are not using your tablet.​It's a toggle, it is toggled OFF.
I think at the moment I turned off the sceeen, I was im a browser on an obnoxious web page. Maybe their clever Javascript tied something into a knot.
I'll try to notice when I pass 600 hours of Uptime.
J.Michael said:
No match when I Search Settings for "doze".
Under Battery -> Settings there is an
Optimize settings​Save battery by optimizing your settings when you are not using your tablet.​It's a toggle, it is toggled OFF.
I think at the moment I turned off the sceeen, I was im a browser on an obnoxious web page. Maybe their clever Javascript tied something into a knot.
I'll try to notice when I pass 600 hours of Uptime.
Click to expand...
Click to collapse
If it has the doze feature, it would be a background process that you would see no controls or settings for. It is a feature in the kernel that runs at and below system level and you can't "see" it if you look for it.
Doze puts the device to sleep, it effectively freezes everything from the kernel level all the way up through system/user level and turns everything off without actually powering down and stays in that state until you "wake" it.
An example would be a Kindle Fire HD tablet that I had with doze, I forgot it was on and running a PSP emulator and I put it in a draw for many weeks, when I pulled it out of the draw and hit the power button, it woke right back up straight to the enulator and the game I had running and still had 60% battery.

Categories

Resources