summaryrefslogtreecommitdiff
path: root/common/battery.c
Commit message (Expand)AuthorAgeFilesLines
* ish: Trim down the release branchstabilize-wristpin-14469.59.B-ishstabilize-voshyr-14637.B-ishstabilize-quickfix-14695.187.B-ishstabilize-quickfix-14695.124.B-ishstabilize-quickfix-14526.91.B-ishstabilize-14695.85.B-ishstabilize-14695.107.B-ishstabilize-14682.B-ishstabilize-14633.B-ishstabilize-14616.B-ishstabilize-14589.B-ishstabilize-14588.98.B-ishstabilize-14588.14.B-ishstabilize-14588.123.B-ishstabilize-14536.B-ishstabilize-14532.B-ishstabilize-14528.B-ishstabilize-14526.89.B-ishstabilize-14526.84.B-ishstabilize-14526.73.B-ishstabilize-14526.67.B-ishstabilize-14526.57.B-ishstabilize-14498.B-ishstabilize-14496.B-ishstabilize-14477.B-ishstabilize-14469.9.B-ishstabilize-14469.8.B-ishstabilize-14469.58.B-ishstabilize-14469.41.B-ishstabilize-14442.B-ishstabilize-14438.B-ishstabilize-14411.B-ishstabilize-14396.B-ishstabilize-14395.B-ishstabilize-14388.62.B-ishstabilize-14388.61.B-ishstabilize-14388.52.B-ishstabilize-14385.B-ishstabilize-14345.B-ishstabilize-14336.B-ishstabilize-14333.B-ishrelease-R99-14469.B-ishrelease-R98-14388.B-ishrelease-R102-14695.B-ishrelease-R101-14588.B-ishrelease-R100-14526.B-ishfirmware-cherry-14454.B-ishfirmware-brya-14505.B-ishfirmware-brya-14505.71.B-ishfactory-kukui-14374.B-ishfactory-guybrush-14600.B-ishfactory-cherry-14455.B-ishfactory-brya-14517.B-ishJack Rosenthal2021-11-051-812/+0
* common: Add Milli Kelvin conversion macrosRob Barnes2021-08-211-0/+1
* chgstv2: Join two battery revival code blocksDaisuke Nojiri2021-07-151-0/+5
* chgstv2: Move battery validate code to battery.cDaisuke Nojiri2021-07-151-0/+23
* Battery: Print display SoC in proper position for battery commandDaisuke Nojiri2021-07-021-6/+8
* Battery: Apply fake SoC to display chargeDaisuke Nojiri2021-06-291-6/+6
* chgstv2: Unify power-on and shutdown battery thresholdsDaisuke Nojiri2021-06-231-5/+1
* Battery: Add command to export display SoCDaisuke Nojiri2021-05-011-13/+44
* common/battery: Provide function to lower input voltagePatryk Duda2021-03-291-0/+82
* battery: add default battery_get_avg_xxx()Ikjoon Jang2021-03-101-0/+10
* COIL: Rename ec_ec_comm* files to inclusive languageDossym Nurmukhanov2020-12-121-1/+1
* Add EC_CMD_BATTERY_GET_STATIC v1 for zorkPeter Marheine2020-11-101-9/+39
* battery: Calculate the display charge percentageWai-Hong Tam2020-08-051-9/+13
* battery: Remove redundant lfcc variable when calculate compensationWai-Hong Tam2020-08-051-8/+4
* battery: Simplify the compensation logic by using pointersWai-Hong Tam2020-08-051-10/+8
* battery: set correct battery cutoff stateKeith Short2020-02-101-2/+5
* kodama: overwrite bad battery params to known good valueTing Shen2019-12-231-0/+4
* battery: combine strings to reduce code sizeEric Yilun Lin2019-12-181-5/+6
* printf: Convert %T to %pTEvan Green2019-10-051-1/+1
* host_command: Change host command return value to enum ec_statusTom Hughes2019-10-021-4/+7
* config: Merge CONFIG_CHARGER_V2 into CONFIG_CHARGERKeith Short2019-09-181-1/+1
* cleanup: refactor CPRINTF("[%T ...]\n") to CPRINTSJack Rosenthal2019-07-171-3/+3
* LICENSE: remove unnecessary (c) after CopyrightTom Hughes2019-06-191-1/+1
* common/battery: Avoid negative display percentagesEvan Green2019-06-081-0/+2
* battery: Consolidate battery_manufacturer_nameDaisuke Nojiri2019-05-011-0/+11
* Battery: Use host full capacity to compute display percentageDaisuke Nojiri2018-11-161-16/+18
* Battery: Make battery command print display percentageDaisuke Nojiri2018-11-151-1/+8
* Battery: Apply full factor to full capacityDaisuke Nojiri2018-11-141-7/+13
* Battery: Get display charge percentageDaisuke Nojiri2018-11-081-1/+16
* Battery: Compensate remaining charge to match full capacityDaisuke Nojiri2018-11-081-0/+22
* Battery: Force data update for EC_CMD_BATTERY_GET_STATICDaisuke Nojiri2018-10-301-1/+2
* battery: treat error codes properlyCaveh Jalali2018-04-101-4/+5
* battery: Allow 2 batteries to be fetched via ACPINicolas Boichat2018-02-091-3/+77
* charge_state_v2: Store battery information in new structuresNicolas Boichat2018-02-071-10/+18
* battery: Add support for reading base battery through host commandNicolas Boichat2018-01-141-0/+41
* cleanup: DECLARE_CONSOLE_COMMAND only needs 4 argsBill Richardson2016-08-241-6/+3
* Deferred: Use deferred_data instead of function pointerAnton Staaf2016-04-181-2/+2
* Add 'at-shutdown' option to batterycutoff host commandDave Parker2014-06-151-17/+81
* Add "debug" option to charge_state_v2.cBill Richardson2014-05-151-4/+9
* Add host command to set battery vendor parametersDave Parker2014-04-291-0/+66
* battery: don't talk to battery after cut-offLouis Yung-Chieh Lo2014-04-251-3/+34
* battery: move cut-off commands to common/battery.cstabilize-5791.0.BLouis Yung-Chieh Lo2014-04-231-0/+20
* Fixed the stack overflow bug in 'battery' console command.stabilize-5784.0.BLouis Yung-Chieh Lo2014-04-211-14/+25
* Make battery_is_present() tristate: YES, NO, NOT_SUREBill Richardson2014-03-271-2/+3
* Add configs for battery detect via gpio or custom functionChromeOS Developer2014-02-061-0/+16
* cleanup: Remove checkpatch warningsRandall Spangler2013-12-191-2/+2
* Cleanly force battery to mAh mode when reading capacityRandall Spangler2013-12-021-7/+3
* Add battery_get_params()Randall Spangler2013-12-021-54/+61
* Show smart battery status with 'battery' commandBill Richardson2013-11-051-0/+24
* Move source files to driver/ and power/ subdirsRandall Spangler2013-10-231-0/+195