Questions tagged [batterylevel]

The amount of charge remaining in the battery of a portable electronic device

The battery level of a portable electronic device is a reflection of the amount of charge remaining in the portable battery of that device. This is an indication as to how long the device can last without being plugged into a power source before shutting down.

262 questions
0
votes
2 answers

Get the battery status for every change in ios

I want to display the battery status of my device in iOS. I am writing the following code to display the battery status. UIDevice *myDevice = [UIDevice currentDevice]; [myDevice setBatteryMonitoringEnabled:YES]; double batLeft = (float)[myDevice…
user1813959
  • 17
  • 1
  • 5
0
votes
1 answer

Is it possible to control System Volume, and Get network information, Battery information on VB.Net with Mono

I was wondering if it was possible to be able to control/get the system volume, get network information (i.e is it a wired or wireless connection, name of network, etc.) and get battery information with VB.Net using Mono on Ubuntu 12.10? Thanks.
TheRyan722
  • 1,029
  • 13
  • 37
0
votes
2 answers

Refresh ImageView

I want to create an android application that gives the battery status (%) in a textView. I also have an ImageView containing an image that I would like to change according the value of the battery status. (I have different images of a battery…
Mirelvi
  • 27
  • 1
  • 7
0
votes
2 answers

Android battery level widget

I'm working on android widget that displays the level of battery left. It seem to work on the emulator except that the emulator's battery level doesn't move, so I can't test further. On real device (ICS), it only displays the initial…
awonderer
  • 665
  • 9
  • 26
0
votes
1 answer

Android: Low battery & wrong GPS behaviour

I'm developing an app to track the users positions. However I've found a weird behaviour of the GPS when the devices have less than 30% of battery (more or less): it stops sending info. Does anybody know how to avoid this behaviour/find information…
0
votes
1 answer

WIll overlaying the screen with a dark UIView save battery power?

Would a full screen black overlay UIView with a 0.8 alpha value reduce battery drain the same as setting the device system brightness to a low value? I would prefer to use my own UIView overlay so I can animate it smoothly dimming the screen rather…
GeoffCoope
  • 952
  • 9
  • 20
0
votes
1 answer

Is batt_attr_text file vendor-independent in Android

I would like to know whether in Android the batt_attr_text file's location and content is the same regardless of the vendor or not? (Btw. same content means now that it has the same "attributes" listed in it...) The reason I ask this is because of…
Morceus
  • 35
  • 6
-1
votes
1 answer

How to read the battery level in Ubuntu?

I've searched for a while on how to do this without any special library or anything, and it took a while to find something that's working properly. It's possible to…
Nir Geffen
  • 66
  • 1
  • 6
-1
votes
1 answer

Fetch continuous location changes with less battery drainage

I want to fetch the user location continuously and update the same in my database. I am using FusedLocationApi to get the continuous location changes. To get the location the user has to turn on GPS and Internet connection has to be there. Keeping…
hasan_shaikh
  • 1,434
  • 1
  • 15
  • 38
-1
votes
1 answer

Battery status of an external device on HTML5

I have a PIC18 that sends its Vcc level of battery charge on a mysql database. I was wondering if there is a script to display its battery-status on my website homepage. I mean something like a typical mobile battery icon to display over my website…
-1
votes
1 answer

How to get low battery level threshold value on windows UWP app?

In Windows power options you can set a specific threshold (%) when OS notifies when if battery is in low/critical level. My question is there away to get this value on my C# UWP application? I cant find an API that provides this functionality to get…
Mako
  • 1
  • 1
-1
votes
1 answer

iOS prevents video recording in the event of low battery

My video recording app encounters a problem in the even of low battery on my device. It works perfectly until the battery level drops down to 20% or below. Is there any way to avoid this, and continue the video recording process?
klemens
  • 403
  • 1
  • 7
  • 20
-1
votes
1 answer

Android: Default Battery Percentage Level for individual services to switch off

We all know Android OS switches off services one by one when the battery reaches critical level. But is there any fixed battery level to cut down individual services. For example, Bluetooth will be switched off at 20%, Mobile data at 15%, Wifi at…
-1
votes
1 answer

Notify user at particular battery level

I need to to notify the user when the battery level is exact 20%. Currently I am using a Timer to check the SystemInformation.PowerStatus.BatteryLifePercent status repeatedly in a fixed interval. Is there any better and efficient way to do it? Edit:…
Sambit
  • 424
  • 6
  • 15
-1
votes
1 answer

Battery level retrieval in hybrid app for Android

Im developing an Hybrid app which will get batter level and alerts if its 100 %. Trying it in Worklight..Can any one please help me out. Thanks in advance
phani_yelugula
  • 331
  • 1
  • 9
  • 14
1 2 3
17
18