Calculator Community > HP Calculators

Is it possible to programmatically get the HP Prime's battery level or voltage?

(1/2) > >>

bwDraco:
The HP Prime is capable of precisely measuring the battery voltage, evident in the diagnostic mode (hold F C O keys while pressing the Reset button). However, the displayed battery meter only specifies battery level in 25% steps.

Is there some function or other means by which I can get the precise battery level or voltage without having to go into the diagnostic mode? Any help would be appreciated.

—DragonLord

TIfanx1999:
I'm not sure. Not many of us here have the Prime unfortunately (I can only think of myself and DJ_Omnimaga), and I've barely touched mine to be honest. However, Tim Wessman: https://www.omnimaga.org/profile/timwessman/ should know. He's actually an HP employee that works on the Prime.

timwessman:
You rang?

No, it isn't possible. In fact, the "voltage" displayed in the diagnostic menu is just the same steps roughly translated over. The battery charging/detection hardware doesn't have fine control of the levels exposed anywhere that the OS could tap into.

The steps roughly correspond to High, medium, low, empty, "I'm about to shut off", "I'm shutting off". Sometimes the time between 5-6 can be a few seconds, but most of the time it is shorter. The time between 4-5 can be minutes, or seconds. It is not very precise at the low levels.

bwDraco:

--- Quote from: timwessman on February 18, 2015, 12:08:18 pm ---No, it isn't possible. In fact, the "voltage" displayed in the diagnostic menu is just the same steps roughly translated over. The battery charging/detection hardware doesn't have fine control of the levels exposed anywhere that the OS could tap into.
--- End quote ---

Oh well... I remember using a third-party library on my HP 50g which provided the precise battery level and voltage.

—DragonLord

TravisE:

--- Quote from: DragonLord on February 18, 2015, 02:51:32 pm ---Oh well... I remember using a third-party library on my HP 50g which provided the precise battery level and voltage.
--- End quote ---

I still use that. I would measure the voltage over time and make an equation that roughly estimates % state of charge based on voltage for a particular brand of NiMH cell. Not the most accurate thing (especially since the voltage fluctuates with load) but still useful. The thing that sucks about the library is that it usually fails to update without a power cycle. I never could figure out why.

This thread is interesting since I always thought Li-Ion systems usually had precise monitoring. I guess there are exceptions. :)

Navigation

[0] Message Index

[#] Next page

Go to full version