Battery charger read inconsistent state

Hi all

We have an application that tries to detect if a phone is supported or not.

From:

http://developer.BlackBerry.com/native/reference/Cascades/bb__device__batterychargingstate.html?f=ch...

There is a State of charge. However, when the battery reaches 100%, even if the cable is always connected and is supported, the status changes to complete.

So when the battery is 100%, there is no way we can detect if the cable is connected or not (in both cases, the remains of battery full status).

I would like to have an additional state FullAndCharging in this case, when the cable is connected and supported, but also the battery is at 100%.

Can it be done? Thanks in advance.

There is no "full charge and.

The battery will keep load until he can free any longer (this threshold may not necessarily be 100% according to the API, for example, if the sensor is damaged or something), after which it will pass to full. The battery can charge is no longer and the device will draw the power of taking rather.

There are reports from reporting 'Full' when reading is about 90% of ish, like 98% or 94% battery and I have personally seen such behaviour. In this State, the battery is cooler

To check if the device is connected, see if the State's discharge, because it's unplugged.

Tags: BlackBerry Developers

Similar Questions

  • Questions about the BIOS update and battery charge on Satellite M30 104

    Hey,.
    I try to update my BIOS, but it does not work because my battery won't charge any more, if a window always tells me that my battery is not enough. Yet, the reason why I'm updating my BIOS is that I read in a forum that might solve my problem of battery charging.
    I'm fairly certain that the battery is not the problem itself: I bought a new battery, it worked for 10 minutes once or twice, then again the load stop completely.
    If anyone knows what the problem is or how to update my BIOS, please...

    Hello Celia

    I am not a technician, but as far as I know, BIOS has nothing to do with charging the battery. In my opinion, there are some problems with e-procurement (electronic load). Sorry, but I imagine that you must contact the partner in your country.

    They have diagnostic tools and it can be verified. Please call and simply explain the situation.

    Good luck!

  • HP ENVY laptop - 17 t-s000 CT: replacement of battery charger adapter

    I would buy a second battery charger adapter, but I can't find it on the HP website.

    Hello @wellsoberlin,

    Welcome to the HP Forums!

    I read your message that are looking to buy a replacement adapter and tried to help you.

    You should be able to find a compatible replacement for your system adapter to HP PartSurfer.

    Please let me know if that solves the problem by marking this post as accept as a Solution.

    Thank you!

  • HP 10 G2: Do not get the battery charge icon

    Just got a new Tablet 10 2 HP and tried to charge the battery for the first time. Online user manual deduces that the Tablet is not on to load. So, I'm not turn it on. The USB cable is connected with the Tablet off the coast.

    According to the user manual, when I plug in the USB cable I should get a small icon of recharge of the batteries in the upper right corner of the screen, but I did not. The screen remained black for nearly 30 seconds, and then a large battery icon displayed in the middle of the screen, indicating approximately 56% of the fees. This large battery icon remained on the screen for about 10 seconds and then the screen went black again. After a little experimentation, I discovered that I can get the large battery icon to display on the screen momentarily by briefly pressing the power button. When I type the swtich the large battery icon appears for about 10 seconds and it shows the current percentage of charge.

    It would be nice to get the small charging of the battery icon in the upper corner of the screen just to know that the Tablet is load... rather than having to hit the button on / off whenever I want to update load. Is it possible to get the low battery charge icon or is that determined by the version of Lollipop? My Tablet uses Lollipop 5.0.

    Any help would be greatly appreciated. TIA.

    Jack

    Each Android HP Tablet I belong to, or borrowed (as part of their program of experts) has not lost any charge the battery by displaying an indication of charge "all the time".

    Looks like your tablet is behaving normally.  State of charge is displayed when you ask.

    WyreNut

  • T440p windows 10 battery charge mode

    Hi all

    I had a recently updated T440p to level to win10pro win7pro. Among other things, the most annoying is the battery charge mode: I put it in "custom load thresholdd", between 55% and 85%. Instead, each time you start the battery starts to load and I have to go to PowerManager8 and change the setting to custom. Then everything is going ok until the next start-up, where I have to do the same thing...

    The notification on my antivirus is the second most annoying: I forticlient antivirus (the latest version, updated to work with win10 ok) running without problem, but in each boot win10 informs me that forticlient is disabled and keeps telling me the same every now and then... I've already put the Panel I want info on the antivirus, but win10 seems that does not understand this...

    Any help will be welcomed.

    Thank you, guys!

    Hi x220forme and thanks for the welcome!

    I found a 'strange' way of trying to solve my problem: I have read in this forum about someone else whom the battery was not charged as it should, and the notice was "try to degrade your power managememnt driver and power manager.

    So I thought ' why not? ' and the last 36 hours, I installed Power Management Driver 1.67.03 and Power Manager 6.67 (with windows 10 Pro in a T440p).

    Until now, looks like it works well. After many restarts, my battery is at 85% and fails to demand, as he has done with PM8. I'll wait a few more days and let the community know, in case where someone else facing the same problem.

    Thanks again!

  • Battery charger gets hot

    Is it normal that my battery charger extremely hot when it is in use? I'm afraid each leave only it connected so I'm not nearby because I'm afraid he's going to fry or ignite. I just bought this computer 2 months ago.

    Normal use a charger / adapter will get very hot, but they should not become extremely hot. I would recommend that you contact the Lenovo Support for further assistance.

    Lenovo - United States support

    1-877-453-6686
    24 hours a day 7 days a week

  • Windows 7 adjustable threshold less than 100% of the battery charge?

    Hello.

    I have a Clevo P170HMx which is a cell phone game impressive.

    Probably the only thing I don't like is that my battery is always 100%.  I used my laptop plugged into an electrical outlet.

    and knowing that to have my battery to 100% and always load will destroy the battery life.

    My previous laptop was an IBM Thinkpad, and it had a maximize battery gauge allows you to define the allowed charge batery

    threshold.  I got this game to start the load to 15% and stop loading at 20%.  I had this same battery from the time of purchase

    until 4 years later, I got my new laptop, the battery remained in excellent condition with load capacity full not escape

    as do other batteries when they stay at 100% and reload constantly.

    Is it possible on Windows 7 pro to change the threshold of battery charge to stop less than 100% load to save battery life

    life?  Or is it Windows software available for download that will make this recommended?

    If Windows 7 is not able to do this, I would say something in an update service pack or the next version of Windows.

    Thanks a lot for your help.

    See you soon...

    Hello

    In normal circumstances as soon as the lithium-ion battery is full, a properly functioning charger will stop the charge and will only engage when the battery voltage drops to a low level. Most of the users do not remove AC power, and this practice is safe.

    The latest Lithium-ion batterires have a limited number of Discharg/charge cycles.

    You can create a detailed report on the State of the battery to double check the battery status.

    1. go to Start / all programs / Accessories. Click on the command prompt and select run as administrator.

    2 in the command prompt window, copy / paste the following command.

    powercfg-energy-output %userprofile%\desktop\energy-report.html

    Press ENTER.

    Wait for the command to complete (usually about 2 minutes).

    This create a file named energy - report.html and place it on your desktop.

    3 go to your desktop and double-click the file to open.

    Scroll to the bottom for the battery: battery information section.

    You will see:

    Rated xxxxx

    Xxxxx full last Charge

    (Where xxxxx is a number)

    4 to calculate the amount of full Charge capacity left in the battery split the value of the last Charge full rated capacity and multiply by 100.

    For this example , use the following numbers.

    Nominal capacity 4400

    Last full 2937

    Calculator enter 2937 and divide by 4400.

    Multiply the multipliez le resultat result by 100 , then press =.

    The result will be 66,75

    This means you have 66,75% of the nominal capacity of the battery.

    Tell us what you find.

    Concerning

  • Plug in not charging (battery meter indicates "Battery charging disabled"

    I have Dell Inspiron 3521, stop all of a sudden my laptop.

    I also checked it in the battery meter indicates battery charge disabled.

    2 days before I have upgraded to windows 10.

    From now all my drivers are up to date.

    I also checked my power adapter and battery operation.

    In the BIOS it showing 90w, battery performing normally.

    I also did restore defaults in the BIOS setting by pressing F9.

    Please help me, I have no why it happens suddenly. The health of my battery is quite Normal.

    The State of the battery meter is attached.

    Hello

    Thank you for bringing this to our notice.

    We suggest also to follow the same steps as the references and also let us know if there are additional problems.

    Thank you

    Robin

  • Firefox is using excessive via "Background App Refresh" battery charge - Although setting being decommissioned.

    I have background App refresh disabled - the scale of the system. However, the Firefox application has managed to get a huge 8.6 hours of substantive activity App Refresh... and eat an important piece of my battery charge in the process. He has used more battery than the Safari app, even if I used just the Firefox App Firefox does NOT respect (and iOS is obviously not properly apply) the updating of the background App setting.

    The Firefox application won a quick deletion of my iPhone. I can give him a second chance in the future, when Apple and Mozilla had the chance to solve this fundamental problem App update.

    Attached are two screenshots. The first is my screen background App update, which shows that I have background App refresh disabled in its entirety and the second, my main screen of the battery, which shows the excessive amount of the battery used by "Background App refresh." Firefox is a flagrant violation in the Protocol of the battery by the Firefox app... and unfortunately, iOS has allowed it to happen.

    I am very pleased to announce that the issue of excessive background use I had experienced with a previous version of Firefox for iOS is part of Firefox version 1.2! I now use the normal battery with little or no background activity. I am very pleased and I intend to continue to use Firefox on iOS regularly.

  • MS A30 - battery charging when I plug in the power cable

    Hello

    I'm having some problems with (I think) on my A30 power management utility. When I am running on battery power and I plug in the power cable, the battery continues to discharge even if the laptop 'knows' that it runs on the power grid (ie the utility says "current generator: alternating current.") "Online, discharges: 82%. Strangely, if I put the laptop in mode 'sleep', then resume, she goes back to normal (i.e. working on current alternative, the battery charges).

    It is true, I think that this began after I installed "PC Pitstop optimize Scan" www.pcpitstop.com (please, not conferences - I used a couple of their public services before and they were very good, so I thought it would be too much), so I guess it's some sort of configuration problem, but I have no idea where to go from here. I went through all the options on the power management utility, but they all look sensitive. Any ideas (other than do not install software stupid, doubtful)?

    Kenny

    Hi Kenny,

    I experienced this behavior on my A30 where the system says it works on current alternative, but still drains the battery and stops eventually.

    In my case the problem has proved to be a loose DC Jack that sometimes cuts off contact with the socket on the back of the laptop. This momentary loss of power DC seems to provoke the power management utility switch to battery power, even though the DC power is restored. The only way out of this situation is to Hibernate / restarting the laptop.

    I think that it is a problem with the power supply subsystem in the laptop that does not react properly when it encounters a momentary loss of DC. Then the Toshiba power management utility is no longer responds correctly and switches to the battery power.

    My only solution to this was to anchor the DC cable to the back of my A30 so that there is now no chance of the plug DC moving in its socket. This has proved to be very effective for my A30 and I've had no recurrence of the problem.

    HTH

  • Changing the setting of 80% to 100% on the Satellite Z30-A-104 battery charging

    Hello

    I used my Z30 Satellite primarily as a desktop till now (the charger is still plugged).
    One day I got a popup option to increase the life of the battery (charge only up to 80%) and I accepted the option.

    But now, I'll be traveling and can't reset this option.

    I want to charge the battery to 100% and be able to take advantage of longer battery life.
    How is that possible? Help!

    See you soon
    Vivek

    Hello

    I think that you have changed this setting in battery Toshiba Manager c++.
    You must disable Mode "Eco-responsible".

    Perhaps this Toshiba info would be useful:
    [TOSHIBA Eco Mode ECO CHARGE MODE charge | http://forums.toshiba.com/t5/General-Features-Knowledge-Base/TOSHIBA-Eco-Charge-Mode/ta-p/355376]

  • I have problems to make my battery charged, because the cable does not have a link solid with the socket of the phone.  The problem seems compatible with a lot of cables, so I think the problem is with the phone. Can it be fixed?

    I have problems to make my battery charged, because the cable does not have a link solid with the socket of the phone.  The problem seems compatible with a lot of cables, so I think the problem is with the phone. Can it be fixed?

    Probably there is debris and dust in the decision-making of the lightning.  Serve with compressed gas canned (NEVER orally).  If this doesn't help, try electronic contact cleaner has a q - Tip.  Finally, take it to Apple.

  • Help with Apple battery charger?

    Because of my Apple Magic mouse, which need spare batteries, at least once every 25 days and my Belkin YourType keyboard requiring spare batteries every day, I bought the Apple Best Buy battery charger as it offers is more the Apple store online. How will I know when the device is finished loading? Best Buy reviewers talk about a sense of light orange blinking battery is defective. I can't say when the charger is finished loading. No it fires? He flashes? It emits beep? Best shopping site only mentions that it reduces the amount of energy it draws when it finishes loading. I want to know when it is finished loading. Everyone go through Duracell batteries in their Magic Mouse in less than 25 days?

    Hello Rebekah

    I used a charger Apple in recent years.   Plugged in to the mains and batteries, the charger will immediately return orrange and will stay like that until the batteries are completely charged.   At this time there the little light turns green and the battery themselvesz will feel warm to the touch.   When they are charged fees to be held for a few weeks, is slowly diminishing.   As the batteries cool, the light turns off, but the batteries themselves will remain loaded.   Use a battery as a final control power indicator.

    If you don't get an orange at first, chances are your batteries are not long enough to complete the + and - sign.   Real Duracell rarely have this problem.   Evade about to see if it makes a difference, but don't be tempted to use aluminum foil packing to compensate for the length; test another battery.

  • Battery charge R200 options?

    I can't find a setting on my R200 where I can turn the battery charging when wallconnector is in. Batterylife should be longer if she wouldn charge every day. It s it souch options on my R200?

    Hello

    There's NO other way. If the battery is placed in the laptop and you use the AC adapter as well as the battery will be charged.
    You must always remove the battery if you work with the main power supply, because the procedure of permanent load is not good for the duration of battery life

  • Satellite P300 - Noisy battery charger

    My battery charger make noise. It's like a hiss. Is this normal? Can it be replaced under warranty?
    If I unplug my laptop, it does not sound.

    My laptop is a Satellite P300.

    Each faulty hardware component can be exchanged under warranty. You can contact the nearest authorized service provider. They can check the power adapter. If the card is faulty, you will get a new free.

Maybe you are looking for