Temperature
#12
(11-13-2019, 12:00 AM)hdk Wrote: My battery is no more than 20C environmental temperature.

VoxUnius already told you there is no proper temperature sensor in the battery. The battery driver is faking the temperature to 18.8 degree Celsius in include/linux/power/cw2015_battery.h

Code:
#define VIRTUAL_TEMPERATURE        188

Our battery driver is quite dumb hardcoding values which are not fixed but need to be retrieved from the battery. This hardcoding makes the battery look better to users than it is:

The heath of the battery is hardcoded to "good" and the last full charge (which degenerates over time) is hard-coded to always the same value 98.


Messages In This Thread
Temperature - by hdk - 11-11-2019, 12:35 PM
RE: Temperature - by zaius - 11-11-2019, 01:55 PM
RE: Temperature - by VoxUnius - 11-11-2019, 07:14 PM
RE: Temperature - by hdk - 11-12-2019, 01:11 AM
RE: Temperature - by aristocrat - 11-12-2019, 12:21 PM
RE: Temperature - by hdk - 11-12-2019, 03:29 PM
RE: Temperature - by tgrauss - 11-12-2019, 03:42 PM
RE: Temperature - by hdk - 11-12-2019, 04:05 PM
RE: Temperature - by tgrauss - 11-12-2019, 04:45 PM
RE: Temperature - by bcnaz - 11-12-2019, 09:14 PM
RE: Temperature - by hdk - 11-13-2019, 12:00 AM
RE: Temperature - by Der Geist der Maschine - 11-13-2019, 01:18 AM
RE: Temperature - by hdk - 11-13-2019, 01:29 AM
RE: Temperature - by mfritsche - 11-13-2019, 03:33 AM
RE: Temperature - by Der Geist der Maschine - 11-15-2019, 12:05 AM
RE: Temperature - by hdk - 11-17-2019, 10:39 AM
RE: Temperature - by Der Geist der Maschine - 11-17-2019, 11:20 AM
RE: Temperature - by tgrauss - 11-13-2019, 11:37 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  What's your SOC temperature? Der Geist der Maschine 3 6,385 01-16-2020, 05:40 PM
Last Post: wasgurd

Forum Jump:


Users browsing this thread: 4 Guest(s)