Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove 100% cap for battery_lvl in fineoffset_ws90.c #2765

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

fallenpegasus
Copy link
Contributor

No other drivers cap the battery level, so this one should not either.

The WS90 backup power, used when the solar photovoltatic charged supercap is empty, is provided by 2 AA batteries.

The standard manufacturer specification is that the nominal voltage of a fresh alkaline battery is 1.5V.

The voltage of a new alkaline battery ranges from 1.50V to 1.65V, depending on the purity of chemistry and the quality of manufacturing.

The voltage of a new lithium iron disulphide battery is 1.72V. The lithium iron disulphide chemistry is good down to -50C and has an operational life of 15 years, so it is often used for weather stations such as the WS90.

It is useful to the user to be able to see a Battery Level >100% to let them know that they have a pair of very high quality batteries installed and that they are fully fresh.

No other drivers cap the battery level, so this one should not either.

The WS90 backup power, used when the solar photovoltatic charged
supercap is empty, is provided by 2 AA batteries.

The standard manufacturer specification is that the nominal voltage of
a fresh alkaline battery is 1.5V.

The voltage of a new alkaline battery ranges from 1.50V to 1.65V,
depending on the purity of chemistry and the quality of manufacturing.

The voltage of a new lithium iron disulphide battery is 1.72V.  The
lithium iron disulphide chemistry is good down to -50C and has an
operational life of 15 years, so it is often used for weather stations
such as the WS90.

It is useful to the user to be able to see a Battery Level >100% to
let them know that they have a pair of very high quality batteries
installed and that they are fully fresh.
@zuckschwerdt
Copy link
Collaborator

I second that we should not change correc values that are just slightly out of bounds.
Code is from #2448, @jpochmara do you agree?

@zuckschwerdt
Copy link
Collaborator

Isn't this a dup of #2728? Why did resubmit the same patch?

@jpochmara
Copy link
Contributor

In this pull request #2448 we talked about this issue, and you thought we should clip the results at 100% (1.00).

@fallenpegasus
Copy link
Contributor Author

it is a dupe of #2728 which i closed, and then redid

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants