summaryrefslogtreecommitdiff
path: root/common/charge_state.c
Commit message (Expand)AuthorAgeFilesLines
* Give the AP 30 sec warning before shutting down due to low batteryRandall Spangler2013-03-051-18/+27
* After shutting down AP, hibernate EC if battery is lowRandall Spangler2013-03-051-9/+29
* Wait to power on system until battery state is knownRandall Spangler2013-03-051-0/+8
* Add reinit state to charge_state module to distinguish it from at-ec-boot initRandall Spangler2013-02-281-24/+32
* Add console command to fake battery state of chargetoolchain-3701.42.Bstabilize-3701.81.Bstabilize-3701.46.Bstabilize-3701.30.0bstabilize-3701.30.0release-R26-3701.BRandall Spangler2013-02-121-2/+44
* Rename and document battery constantsRandall Spangler2013-02-121-8/+8
* link: allow to decrease maximum battery charging currentVincent Palatin2012-11-071-0/+22
* Move reset/overheat/shutdown funcs to chipset interfaceRandall Spangler2012-11-011-7/+1
* Rename power_button module to switchRandall Spangler2012-10-301-3/+3
* Use SECOND and MSEC constantsRandall Spangler2012-10-291-1/+1
* Rename POWERSTATE task to CHARGERRandall Spangler2012-10-291-1/+1
* Clean up charger codeRandall Spangler2012-10-241-74/+85
* Hook functions no longer return valuesRandall Spangler2012-10-231-2/+1
* Fix delay loop for battery detectingVic Yang2012-10-171-3/+1
* link: Revive under voltage protection battery packRong Chang2012-10-081-4/+20
* link: Hibernate EC when battery level drops below 2%Randall Spangler2012-10-051-4/+12
* link: Add charge_near_full stateRandall Spangler2012-10-021-2/+31
* link: Don't set power LED green until second idleRandall Spangler2012-10-011-1/+16
* link: If discharging and system is off, only poll battery once a minuteRandall Spangler2012-09-251-3/+31
* Only ask the charger for current steps it can supplyRandall Spangler2012-09-241-5/+24
* Only use trickle charging logic when battery is mostly dischargedRandall Spangler2012-09-211-5/+6
* Add host command to dump charge state machine contextVic Yang2012-09-101-0/+17
* Fix a bug that battery info is not updated when AC not connectedVic Yang2012-08-181-3/+3
* Display debug message before shutting down to protect the battery.Bill Richardson2012-08-161-0/+1
* Clean up debug outputRandall Spangler2012-08-071-5/+5
* Add host events for shutdown due to thermal or batteryRandall Spangler2012-08-071-0/+1
* Periodically set power LEDVic Yang2012-08-071-1/+16
* Revert "Set power LED to green when we are trickle charging nearly full"Vic Yang2012-08-031-22/+28
* Notify kernel when charge_full changesVic Yang2012-08-031-0/+9
* Change host command params/response pointers to void *Randall Spangler2012-07-261-2/+1
* Implement something close to final lightbar code.Bill Richardson2012-07-231-3/+0
* Add interface to charge_state for lightbarRandall Spangler2012-07-191-35/+48
* Add host command to exit force idle charge stateVic Yang2012-07-181-1/+17
* Set power LED to green when we are trickle charging nearly fullVic Yang2012-07-181-28/+23
* Debounce charging voltage when cross 8.0VRong Chang2012-07-151-17/+53
* Add a host command to force charge state in IDLE modeVic Yang2012-07-121-2/+47
* Initialize memory mapped data and add data versionsRandall Spangler2012-07-121-0/+3
* Support host event get/set/clear on all host interfacesRandall Spangler2012-07-071-12/+5
* Add memory-mapped data support for I2C and SPI protocolsRandall Spangler2012-07-071-22/+18
* Retry to update power led after 1wire errorRong Chang2012-07-021-3/+10
* Do not trickle charge when battery ask for no currentVic Yang2012-06-281-1/+2
* Fix deep discharging poweroff functionRong Chang2012-06-201-8/+2
* Move printf() formatting to its own file to enable re-useRandall Spangler2012-06-071-6/+3
* Add AC state change hookRandall Spangler2012-05-171-8/+3
* de-LPCify the EC host interfaceVincent Palatin2012-05-151-29/+29
* Fix charging task running too frequentlyRandall Spangler2012-05-141-7/+12
* Handle overtemp condition in discharging stateRong Chang2012-04-251-2/+6
* Refactor async console outputRandall Spangler2012-04-241-7/+10
* Trickle charging state and minor bugs fixRong Chang2012-04-191-87/+108
* Export more battery information in LPC mapDuncan Laurie2012-04-061-1/+56