Android :: Create Battery Usage Intent Android
Sep 9, 2010
On my nexus one, there is a handy app reachable from Settings > About Phone > Battery use.
I'd like to StartActivity() that app from one of my Activities.
I can see in the log that when Settings runs it, this intent is logged:
Starting activity:
Intent { act=android.intent.action.MAIN cmp=com.android.settings/.fuelgauge.PowerUsageSummary }
I'm having trouble relating that to something in Android Java source. I can't even find "fuelgauge" in the GIT source.
View 1 Replies
Mar 12, 2010
Can anyone say me the main difference between intent and pending intent? And their usage in application with example.
View 2 Replies
View Related
Sep 15, 2010
I have a repeating alarm setting, I have the activity being launched, the piece I'm missing is having this triggered after x minutes of inactivity.
I'm considering keying off of SCREEN_OFF in a service and then setting an alarm and canceling it on SCREEN_ON, does anyone have an intent or other suggestion for this. I've considering polling for tasks, all kinds of pieces but I'm stuck.
Requirement:
- App launches, alarm is set to relaunch app after 5 minutes, user exits/app exits after one minute
- alarm triggers, detects phone is in use, resets alarm to trigger in fives minutes
- if phone is idle relaunches app for one minute
View 1 Replies
View Related
Jun 30, 2010
I have found various topics here and elsewhere on creating an intent for sending e-mail and that seems to be pretty straightforward. I'm looking for an intent to just launch any e-mail client the user might have.
Here is the code I've seen for sending an e-mail (posted just for reference, this doesn't serve my needs as I don't want to send a new message):code...
The code above works but isn't flexible in that a user might not be using Gmail but the other built-in e-mail application or a 3rd party e-mail app. I'm looking for an intent that would bring up the chooser in this case so the user can decide which app to launch to read e-mail.
Does anyone know how to accomplish this?
View 2 Replies
View Related
Jul 23, 2010
In the examples, they create Intent as:
Intent intent = new Intent(this, AlarmReceiver.class);
But suppose my AlarmReceiver class is in another app, how do I create this intent?
I've tried with
new Intent("com.app.AlarmReceiver")
but nothing happens.. It was not called..
--Broadcast definition added using the manifest editor on Eclipse:
CODE:.................
View 1 Replies
View Related
Feb 14, 2009
The MediaPlaybackService has exported=true but no intent filters. How do I create an Intent to bind to it?
View 3 Replies
View Related
Sep 8, 2010
In my application i want to create a shortcut (a button), to another application but i want the user to be able to select which application he wants...
So how do i access a list of all the installed applications and how do i create an intent to start any one of those applications ?
View 1 Replies
View Related
Nov 14, 2010
I can create new contact with Intent by passing info as extra data with putExtra, is it possible to create Intent with info and if contact is already in phonebook it will be update with new info?
View 1 Replies
View Related
Mar 5, 2010
The first activity in my app needs to load a small amount of data from a text file. Two strings and an integer. Once I load the data, I want to use one of the strings to create an intent, that will launch the next activity.
View 2 Replies
View Related
Nov 14, 2010
Does anybody know, how i can create an intent that opens some videos in youtube app for being played as / in a playlist?
View 1 Replies
View Related
Aug 1, 2010
My battery usage for android system is at 54% How high should it be?
View 2 Replies
View Related
Sep 22, 2010
How can i get battery usage by application in android.I need to know % of battery spent by application.It's possible using SDK?The information that i need, using an android device it's on "Settings>About phone>Battery use"
View 1 Replies
View Related
Oct 16, 2010
Here is a couple screens from my EVO. When it warns you to plug in the phone it also has a button to check usage that is built into the phone. Wish somone could build an app directly to this. As the battery was draining (almost dead) I left this screen up (waiting for it to die) total of 13hrs and 20+ min. It does not use any battery to check this. Look at how long it has been unplugged. The BT, Sprint Nav and Beautiful widgets never get killed by my task killer because these are a must for my job. I am a Professional Driver of 21 years and these are needed.
View 9 Replies
View Related
Aug 20, 2010
I'm having problems with my Droid Incredible battery not lasting a full day; even when I don't think I'm doing a lot. Maybe its the K9 Mail applications or my stock monitor, or some other application that is using a lot of power.
I got the System Panel application to help, but it doesn't see to give me a view of what application is using up the power.
View 1 Replies
View Related
Jun 8, 2010
I just wanted to know if that was normal if I'm not really using my phone. I read on another post that the Android system shouldn't be using that much battery or am I wrong?
View 1 Replies
View Related
Jul 16, 2012
how to get the battery usage per application.I want to implement battery usage per application in code. So I need idea how I should work to get this. I am not searching for app shows battery usage. I want to implement one such app.
View 7 Replies
View Related
Aug 24, 2010
My battery almost died after 6hrs unplugged, made 1 phone call, checked FB and email once. What happened? I have the incrediable, I had a full charge when I left at 7am, around 1 something my phone almost died. I had nothing running in the background
View 6 Replies
View Related
Oct 23, 2009
An hour after my G1 phone was fully charged, the "Battery Usage" showed me that my game had used 20% of the battery usage. Except, I never ran my game (I had run the game before starting the charge). I checked TasKiller, and it didn't list my game as running (my game also doesn't run any services). When I clicked on the details of the battery usage for my game, it didn't list anything under the "Use details" section. Is it possible to use battery, but not have anything listed under the "Use details" section?
View 5 Replies
View Related
Nov 4, 2010
I am having trouble finding class or API in android documentation which can help me get battery usage statistics per application. I have read PowerManager class and BatteryManager but they are of no use .Though I can find applications like PowerTutor that do give you battery usage statistics per application, so I think its technically possible?
View 1 Replies
View Related
Apr 20, 2010
I consider that my "About Phone ->battery Use" is not really accurate in my case. Can you advice me regarding another android battery usage monitor application ? I am interested in seeing the exact consumption (in percentage) of each service/application.
View 8 Replies
View Related
Jun 9, 2010
I have seen the below log message when navigating to the Account & sync settings screen but I am confused as to how to create an Intent to navigate there.I dont seem to have access to the ManageAccountsSettings for development.I just wanted to create an Intent such as below, but I cant call out ManageAccountsSettings.
View 1 Replies
View Related
Sep 12, 2010
This is NOT a "my battery life sucks" thread, i'm just wondering what apps everyone uses to monitor their battery life and device usage.
I'm currently using:
Default Settings > Battery > Battery Use
Spare Parts
System Panel
Battery Graph
View 8 Replies
View Related
Aug 5, 2010
I just got my droid x about 2 days ago, and I've gone through about 2 full cycles. So far I haven't been able to squeeze more than 6 hrs of use on it, so I installed spare parts to see if the GPS bug was affecting it.
Going through some usage information, I found that the "Android System" sensor usage was huge! Since 1hr 29min unplugged the Sensor has been on for 1hr 36min...weird.
Checking the total time since boot the sensor has been on 19 hrs. I have autobrightness turned off and I haven't come across any other posts that explain what uses the sensor.
View 4 Replies
View Related
Nov 29, 2009
There are a bunch of threads out there talking about battery usage and how to figure out what's draining your battery.
Almost all of them say to go get Spare Parts app from the market and check you "partial wake usage".
I did that and 95% of my partial wake usage is from "Android System".
Is that normal? Anyone who is getting good battery life (20+ hours) - what do you see in the partial wake usage?
I just checked my phone:
13h 10m 23s since unplugged
Partial Wakelock:Android System Total time: 13h 1m 44s
Is this normal?
The only widgets I have are:
Stock power control widget
Ringer Toggle Widget
I am running GDE in the background (not my default home screen).
View 2 Replies
View Related
Jun 21, 2010
I have been disturbed by how much battery it seems to use while it's sleeping. After much poking around and reading and using various system/battery/monitor apps in a non-methodical manner, I think I found it. I noticed that a process called 'compass' at /system/bin/akmd was persistent in utilization on my phone. While it only ever showed like 1-6% cpu utilization, it seemed to be showing it constantly. I uninstalled a 'compass' app I had DL'd from the market, but that had no effect.
With some searching, I found some threads over at XDA that discussed this process misbehaving in some recent builds, although the conversations didn't seem to be about the EVO. Nonetheless, I decided to disable the auto screen orientation (Menu -> Settings -> Sound & Display -> Display Settings/Orientation = unchecked) and lo and behold, I'm not sure the phone even uses battery in standby now! (exageration for effect...)
Now, this will require more testing, but it seems to be at the root of *my* battery issues. And I'm thinking after reading at XDA that this could be a broad problem. I'm also hopeful though, that this could be a relatively easy software fix for HTC/Google. Especially because I don't particularly find disabling the screen rotating an acceptable long term solution... but one I can live with for now, if it makes the HUGE battery gains it seems like it might.
View 5 Replies
View Related
Mar 23, 2010
I am running the 0.3 rom.. and there is no battery usage under about phone.. its there on the droid am i missing something? Also to make it more stange when you get down to 15% it gives my a low battery warning i can either say yes or view battery usage.. but cant seem to find it anywhere in the menus.
View 1 Replies
View Related
Aug 27, 2010
Soo running the froydvillain 1.4.4 tried different kernels. Would ask this on their IRC channel but I think they would lynch me :P The max stable I get is 748 was running it for like 10 mins :P (768 wont boot) Was running mostly 691 and now 614 . But dont know what will the difference in power consumption be. For example when playing with the phone and it will have to go to the 691 will it hold a lot less? Or its just a minor difference?
View 10 Replies
View Related
Sep 3, 2010
this thread directed at those that did not root or unlock their HTC desire but uses its original android.. before i go on, my standard usage is as follows, mostly sms using, a phone call or two, less than an hour of wifi browsing at night.. on android 2.1, my battery lasted roughly 2 days and a bit more.. after updating to android 2.2 via wifi through auto update on the phone. today was my third day after charging my phone to 100%.
its now almost 5pm, on my third day and my battery still has a whopping 40% of battery life left.. so just wondering whether anyone else have this miraculous boost of battery life with android 2.2 or not.
View 15 Replies
View Related
Apr 25, 2010
I'm wondering what the best charging strategy is to get the battery working at its best. Let it run down to almost empty then fully charge each time or just keep topping it up when I'm near power?
View 3 Replies
View Related
Aug 12, 2010
I was screwing around with battery usage today and here is what I found as the bottom line. Now this doesn't mean this is the same for you, but I'm sure you all know that. I changed nothing on the evo besides Gtalk automatically signing me in. (No skimping if you would) and I was at a golf club all day yesterday and had perfect signal strength. My EVO went 23hrs on one charge with decently heavy use. When I went back home (bad signal, 1 bar, no 3G) my phone's battery lasted just about 13hrs. Therefore I think TWS is one of the biggest battery culprits. Hence why if you complain to Sprint, they send you a free Air Ave like they did for me and many others.
View 5 Replies
View Related