Android :: How To Get Remaining Battery Level?

Feb 9, 2010

Searching old posts reveal that no one knows a way to get the current battery level without using intents. Is this true? There's no method to just return the current battery level?

Android :: How to Get Remaining Battery Level?


Motorola Milestone :: New Battery - Wrong Battery Remaining % Shown

Oct 14, 2010

Today i found a new battery issue with the phone. I tried searching the forum but as you can probably see from the title could not find the right words to define it. At night i left the battery at around 70% and when i woke up it was shown as 5% (no i did not sleep for 24hrs straight.). with the sync, bluetooth, GPS, wireless and Data (through Quick Settings) off.

but thats not the fun part yet. it comes when i plugged in my car charger the battery level jumped from 5% to 60% within a millisecond. I know the the charger box said "Fast Rate Charger" but this is ridiculous. unless i got one of those freak hyper super fast charger (which i doubt, hardly that lucky), there is a software bug. Does anyone know how to remedy this cuz now i dont think i can trust the battery level thingy. It fun when it happens this way but i dont think i would be laughing if the battery dropped by 50%.

View 7 Replies View Related

General :: Android App That Shows Battery Life Remaining In Notification Bar?

Jun 29, 2012

I'm looking for an app that would show the battery life remaining in my notification bar (similar to battery life remaining on mac computers), I've searched and searched and searched and cannot seem to find an app that does so. I have found apps that can tell me the time remaining, just not in the top bar of my phone. I'm running a Galaxy S3 w/ ICS.

View 4 Replies View Related

HTC EVO 4G :: 62 Hours / 24 Percent Battery Remaining

May 26, 2010

62 hours and 24% battery still remaining. This is after my initial period of hammering on the phone and back to my normal daily usage pattern which is like a blackberry user (some phone calls in and out, lots of email, at least a few every 30 minutes during the day and early evening). What this means for me as a blackberry user is that I can now confidently switch over from blackberry to the Evo as primary phone and get through a normal day (16 hours) without needing a mid-day charge.

Here are settings from my testing experience that I wish I had known when I first got the EVO at Google I/O:

1. Add to home sense screen:
widget: Power Control Android
widget: settings, 4G
widget: settings: Hotspot

2. Install android market apps (free):
Advanced Task Killer
Spare Parts
K-9 Mail

3. Run Advanced Task Killer (some disagree, do what you want. I'll revisit and retest this when 2.2 gets released by HTC for the EVO. I don't need sprint navigation, sprint tv, etc. to ever be running since I will use google navigation. I haven't had time to do another endurance test without using ATK and I'm not planning to do another endurance test)

Deselect things you actually want to keep running in the background, e.g.:
voice dialer
voice search
google voice
calendar
k-9 mail
gmail
....
Kill selected apps

ATK will put a notification up at each boot and remember your selections so it's easy to re-kill off all the sprint and other apps you don't normally want 'running' in the background.

4. Turn off 4G and hotspot on the main page with widgets installed.
Note: I found I don't need to disable gps or bluetooth since with streamlined apps running nothing is using them unless I want it to and I want my bluetooth to automatically pickup when I get in the car.

5. Turn screen brightness to low or medium using widget icon. this disables auto brightness but the lower screen brightness seems fine for me. When outside in the sun just click it up if needed

6. Settings Wireless and Networks, Wi-Fi Settings, <menu button> Advanced, Wi-Fi sleep policy, Never.
It's a bit counterintuitive, but I've tested it out both ways and confirmed the articles that recommend this. The phone uses dramatically less power in this state as opposed to auto sleeping wi-fi which turns on the 3G radio. Dramatic as in without keeping wi-fi alive overnight my battery went from like 70% to almost nothing during earlier tests.

7. <optional> Run the battery from a full charge to completely drained once. I'm not sure if this had an effect or not, just putting it in because I did it once before this current long runtime since charge to make sure the battery was properly profiled. It's easy to do with 4G on and watching HD youtube videos.

8. K-9 versus gmail client. I'm seeing much more cpu usage from gmail client versus K-9. I have work email on a host service that supports imap idle (rackspace). The imap idle push seems to really save on cpu usage and my work email delivers as fast to the Evo as it does to my blackberry. I like the gmail client for my personal mail but may end up switching my gmail.com to deliver via K-9 instead to really save on battery. Needs more exploring but it appears the gmail client 'push' is not as efficient as the imap idle.

9. Summary, when you want to show off your 4G Youtube HD or use the phone as a mobile hotspot, just click on the 4G and away it goes. But normally keep that radio off since you don't actually need it and it's a huge power drain. With the widget installed this becomes an easy habit.

View 49 Replies View Related

Motorola Droid :: How To Show Remaining Battery?

Jan 7, 2010

I am able to see how much of my phone is using the battery i.e. display 50%, but I can't find what my total battery remaining is. How do I show that?

View 6 Replies View Related

Motorola Droid :: Battery Percentages - Don't Display The Remaining In 1% Increments

Jul 10, 2010

how come none of the roms for the droid don't display the battery remaining in 1% increments. I just put a new ron on my girlfriends eris and it has this ability, just wondering why we don't have that, it would be nice.

View 7 Replies View Related

Android :: Need A Application For Battery Level

Sep 25, 2010

Can anyone suggest me a nice app to see the battery level?

View 10 Replies View Related

General :: API Level Differences - App Works In Level 10 But Not In Level 7?

Jul 2, 2012

I'm having trouble developing an app, while it works in API level 10, it does not in API level 7. I wondery why and I've been looking for a site that summarizes the differences, or the new features from one API level to another and cannot find it.

09-04 04:24:21.485: E/AndroidRuntime(6834): Uncaught handler: thread main exiting due to uncaught exception
09-04 04:24:21.510: E/AndroidRuntime(6834): java.lang.VerifyError: [code]....

There seems to be a problem with an uncaught exception and reflection, although....why does it work on API level 10?

View 1 Replies View Related

Android :: How To Get Current Battery Level Of Device?

Feb 18, 2009

Is there a way to get the current battery status of the device (battery level and if the battery is currently charging). The only way I found so far is by using a Broadcast receiver to "listen" for battery status changes. Is there a way to get the battery status using a direct API call? I my case, I would like to check if the battery has sufficient charge (or is being currently charged) before starting the download of some (potentially large) files.

View 2 Replies View Related

Android :: Light Sensor Value And Battery Level

Feb 15, 2010

I am writing a program and I am able to get the light sensor value and current battery level, but only the light value changes and when the battery level changes. Is there a way to get these two values anytime? Like when a user runs my program, I would like to grab the current values right away instead of having to wait for them to change.

View 2 Replies View Related

HTC Incredible :: Battery Level Accurate / Not?

Sep 21, 2010

New Incredible user just looking for some feedback, my battery stats are the following:
Uptime: 12:06
Awake time: 2:58
Battery use:
-Android system: 34%
-Cell standby 29%
-Phone Idle 22%
-Display 8%
-Voice calls 4%
-Maps 3%
I've been reading all other posts and their android system is significantly lower is there something draining my battery?

View 1 Replies View Related

HTC Desire :: Battery Level Drops To 89% Instead Of 100%?

Oct 24, 2010

Android Version: 2.2 (but also happened on 2.1). My phone's battery level will suddenly drop to 89% even though it is still on charge. It's annoying because sometimes you'll start the day with only 89% charge instead of 100%. My friend also has a Desire but is not experiencing this problem - the only difference between them is the version of kernel. I read somewhere that is was the kernel that was the problem and somebody found a fix - xda developers - View Single Post - [DEV] Desire GSM/CDMA kernel 2.6.32 Google / 2.6.34/35 Cyanogen Mod.

View 4 Replies View Related

Android :: Possible Duration Of Idle Time Of Phone Based On Current Battery Level

Aug 18, 2010

I am new to the android programming environment. I am currently working on a project which deals with the user's phone battery level.I am showing the current battery level left on the phone.now i want to display the amount of duration of "idle time, talk time, video playback, audio playback and web surfing" that can be done based on the current battery level. What kind of approach shall i follow.(or) What available API shall i use to get those.

View 2 Replies View Related

HTC Desire :: Want A Shortcut To Exact Battery Level?

Oct 12, 2010

I was just wandering if there is a shortcut to find the exact battery level on my Desire? I know you can go the 4636 route but thats slightly long winded, and most battery widgets/notification bar icons actually seem to use battery (i have properly tested this!). I know you can go into 'about phone' and do it that way but that just shows it as a series of bars, not as an actual figure.

View 5 Replies View Related

HTC Droid Eris :: How To Know Exact Battery Level?

May 27, 2010

I notice you see your exact battery percent when charging, is it possible when not?

View 3 Replies View Related

Motorola Droid X :: Battery Level Reset?

Jul 20, 2010

so I decided to pull my battery out of my phone to check something.the battery level was at 30. I then put it back in and now its at 70. its been 20 minutes and its still at 70. Any insight on why this is happening?

View 1 Replies View Related

HTC Incredible :: Battery Charging / Level Issues

Sep 28, 2010

Strange..My phone had 15% battery. I went into adb and started deleting apps for about 20 minutes. I turn the phone back on and it says it is fully charged.

View 7 Replies View Related

General :: Bluetooth Headset Battery Level App?

Mar 9, 2012

One of my friends with an iPhone showed me how a battery level meter is next to the bluetooth symbol when his headset is connected(new feature in iOS5 from what I found online). He was also using a cheap Motorola headset too. Is there an app or widget that does the same thing on Android?

View 12 Replies View Related

General :: How To Show Phone Battery Level On PC

Nov 24, 2013

Is there any way to show my smartphone battery level on my computer? Synced via internet.

It will be sweet to have those two bars (notebook and smartphone battery level) next to each other on the taskbar (win 8). I tried to google it, but unsuccessfully.

View 2 Replies View Related

Motorola Droid :: Inaccurate Battery Level Indicator

Nov 22, 2009

I was using the phone reading email and the battery indicator all of a sudden went from 50% to 5% and i got a prompt telling me to charge it. I knew this could not be right and i proved it by surfing the net for 10 mins and watching a video for 75 minutes before the phone died. Has anyone had this happen to them?

View 3 Replies View Related

HTC Desire :: Battery Level Indicator Went From Green To Orange

Aug 4, 2010

I was using satnav at the weekend; the battery level indicator on my Desire went from green to orange (20%) and the existent data connection dropped off straightaway. I was unable to re-establish a data connection even after switching the phone off and on again. I was in an area of reasonable/good network signal strength. The GPS continued to function however so I could still see my progress on the map but a data connection message appeared.

When I got home the phone continued to function on WiFi (with GPS on too) for nearly another two hours before it turned itself off, so there was plenty of "juice" left. My question is as to whether there is anything I can adjust to ensure that the battery continues to function fully (ie maintain a data connection) until it runs out? Or whether at 20% the phone is somehow set up to end a data connection? I have now got myself an HTC car charger to make sure the battery will not drop that low again when I am using satnav.

View 2 Replies View Related

General :: Finding App To Auto Power Off Device At Certain Battery Level

Oct 16, 2012

I have a rooted Nexus s on 4.1.2

I am wondering if there is an app that can power off my device when battery drops to a certain level. Tasker's shutdown task not seems working for me.

View 3 Replies View Related

Sony Ericsson Xperia X10 :: Battery Level Shortcut On Main Screen?

Oct 5, 2010

Is there a way to put a shortcut on the main screen for the battery level? I have been unsuccessful so far. I don't think the shortcuts option will let your drill down that deep to place that specific shortcut on the main screen.

View 4 Replies View Related

Motorola Droid X :: Unique Floating Battery Level Appears While Charging And It's Off

Aug 6, 2010

Don't know if this has been discussed, but I turn my phone off. Then plug it in and a unique floating battery level appears while charging and it's off.

View 1 Replies View Related

Android :: Android 2.0 Battery Level Issue?

Nov 9, 2009

I don't know if this is an Android 2.0 or a Motorola Droid issue, but I noticed that the battery level only reports in increments of 10's. For example 70%, 60% etc. Any apps or widgets also can only see this as well. Is this a bug, what happened to the detailed stats?

View 6 Replies View Related

Android :: Need A Battery Level / State In Android?

Jul 20, 2010

How can I get battery level and state (plugged in, discharging, charging, etc)? I researched the developer docs and I found a BatteryManager class. But it doesn't contain any methods, just constants. How do I even use it?

View 2 Replies View Related

Android :: Need Battery Level At Android Widget

Sep 11, 2010

I wrote a widget for Android and I'm trying to get the battery level.
I've tried using. Intent battery Intent = context.register Receiver(null, new Intent Filter(Intent.ACTION_BATTERY_CHANGED). but I get the error:
"Intent Receiver components are not allowed to register to receive intents". Why? the ACTION_BATTERY_CHANGED is a sticky intent and I don't register a receiver (null in the first parameter).

View 2 Replies View Related

Android :: How To Know Battery Level In Android?

May 4, 2010

I am having a problem with "Battery Level". i am using sdk 1.5 in my app. when the Battery Level reduced to 15%(i want to post the info to the Soap server as an Alert). what i got info is if you are using 1.5 (>= ) then use Battery Manager.EXTRA_LEVEL. but in my app, i am not getting it. if anybody knows the desired solution regarding the problem please help me.

View 2 Replies View Related

Android :: SD Card - How To Detect Remaining Space?

May 8, 2009

Is there any way to detect remaining space on the sdcard through the API? I prefer not to make native or shell calls.

View 4 Replies View Related

Android :: Text Longer Than Available Space / How To Get Remaining Lines?

Sep 24, 2010

I have a long text and I want it to be displayed with a TextView. The text I have is much longer than the available space. However I don't want to use scrolling, but ViewFlipper to flip to the next page. How can I retrieve the lines from the first TextView that are not shown because the view is to short so that I can paste them into the next TextView?

I simply have to use a custom View with a StaticLayout like this:

public ReaderColumView(Context context, Typeface typeface, String cText) { super(context);
Display display = ((WindowManager)
context.getSystemService(Context.WINDOW_SERVICE)).getDefaultDisplay();
dWidth = display.getWidth(); dHeight = display.getHeight();
contentText = cText; tp = new TextPaint();
tp.setTypeface(typeface); tp.setTextSize(25);
tp.setColor(Color.BLACK); tp.setAntiAlias(true);
StaticLayout measureLayout = new StaticLayout(contentText, tp, 440, Alignment.ALIGN_NORMAL, 1, 2, true);
Boolean reachedEndOfScreen = false;
int line = 0; while (!reachedEndOfScreen) {
if (measureLayout.getLineBottom(line) > dHeight-30) { reachedEndOfScreen = true;
fittedText = contentText.substring(0, measureLayout.getLineEnd(line-1));
setLeftoverText(contentText.substring(measureLayout.getLineEnd(line-1)));
} line++;
} } protected void onDraw(Canvas canvas) { super.onDraw(canvas);
StaticLayout textLayout = new StaticLayout(fittedText, tp, 440, Alignment.ALIGN_NORMAL, 1, 2, true);
canvas.translate(20,20); textLayout.draw(canvas);
}
Thats not optimized yet but you get the point.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved