battery
Getting the Battery temperature and unit of the result
I was reading how to get the tempera开发者_如何转开发ture of the battery and I make small app, and in my receiver I have something like this[详细]
2023-04-12 13:52 分类:问答Creating a ChargeInhibit Assertion (OS X 10.6.8)
Platform (OS X 10.6.8) - [Macbook Pro - this is important as I want to deal with the battery handling - not applicable for a desktop][详细]
2023-04-11 06:17 分类:问答Can I register more than one BroadcastReceiver for an Activity in an Android Programming?
I implemented a sample application which Shows the Phone Information, Battery Information of an Android application. I created two different Class files for two activities.[详细]
2023-04-10 09:21 分类:问答How to get the exact battery level?
This is simple code of my simple batteryLevel Test app. - (void)viewDidLoad { [super viewDidLoad]; 开发者_开发问答UIDevice *device = [UIDevice currentDevice];[详细]
2023-04-04 05:42 分类:问答Disable/enable BroadcastReceiver when battery low/okay
I am working on an app that uses an alarm to do something periodically. The alarm is set when the phone has completed booting. The BroadcastReceiver receiving the alarm and starting a service gets dis[详细]
2023-04-02 18:02 分类:问答Old values from battery change receiver while standby
I wrote a service with a broadcastreceiver listening on BATTERY_CHANGE. The thing is when the screen is on it works perfectly, but when the phone goes into standby, the service is receiving just the o[详细]
2023-03-27 21:30 分类:问答Android AlarmManager heavy battery drainer?
i just started working on android about 4 months back. i created a project that uses AlarmManager, the flow is like this:[详细]
2023-03-26 20:38 分类:问答How to remove the battery icon in android status bar?
I\'ve removed the status bar which shows network, battery and time information in Android by take off the background image. But the icons are still开发者_JAVA百科 there.[详细]
2023-03-25 17:46 分类:问答BroadcastReceiver with a Listener drains battery when not in use
I have a receiver which waits for TelephonyManager.ACTION_PHONE_STATE_CHANGED: public void onReceive(Cont开发者_如何学Cext context, Intent intent) {[详细]
2023-03-24 14:43 分类:问答How long android battery is in discharging mode
I need to know how long my android phone is in discharging mode.For this what i am doing now is- using broadcast receiver to listen when phone is unplugged from charging.Then saving this time in memor[详细]
2023-03-14 18:39 分类:问答