Ticket #796 (closed defect: wontfix)

Opened 12 years ago

Last modified 11 years ago

Use obviously bogus value for off-scale high battemp value

Reported by: cesarb@… Owned by: michael@…
Priority: high Milestone:
Component: kernel Version: current svn head
Severity: trivial Keywords:
Cc: buglog@…, cw@… Blocked By:
Blocking: Estimated Completion (week):
HasPatchForReview: PatchReviewResult:


The value currently used for off-scale high on battemp (2342) is not an
obviously bogus value (it can reasonably be interpreted as being in hundreds of
degree, which would give a nice ambient temperature of around 23°C). It would be
best to use an obviously bogus value like 9999 (all-nines have traditionally
been used for invalid values).

Change History

comment:1 Changed 12 years ago by cw@…

  • Cc cw@… added

comment:2 Changed 11 years ago by willie_chen@…

  • Owner changed from laforge@… to michael@…

comment:3 Changed 11 years ago by andy

  • Status changed from new to closed
  • Resolution set to wontfix

Does not look like we will fix it. GTA02 has correct temp in /sys/class/power_supply/bat/temp and handles clipping to whatever its limits are (not specified in datasheet) before we get to see it.

Note: See TracTickets for help on using tickets.