aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/batt_smbus/batt_smbus.cpp
Commit message (Collapse)AuthorAgeFilesLines
* batt_smbus: add ioctl to return batt capacityRandy Mackay2015-04-101-10/+43
| | | | | | Also use full charge capacity instead of design capacity so that an old battery's capacity will appear as lower than its original capacity but it will still report 100% charged after charging
* batt_smbus: remove usleepRandy Mackay2015-03-191-5/+4
| | | | | Also restore I2C address after performing command line search for devices
* batt_smbus: calculate current dischargedRandy Mackay2015-03-191-2/+23
|
* batt_smbus: remove debugRandy Mackay2015-03-021-3/+0
|
* batt_smbus: reverse reported currentRandy Mackay2015-02-201-2/+1
| | | | smart batteries report a negative current when being discharged
* batt_smbus: disable if no batt 10seconds after startupRandy Mackay2015-01-211-2/+22
|
* SMBus battery driver: Remove console print on normal block read operationLorenz Meier2015-01-041-2/+0
|
* SMBus battery driver: further code style fixesLorenz Meier2015-01-041-22/+56
|
* SMBus battery driver: Stylize according to style guideLorenz Meier2015-01-041-53/+66
|
* batt_smbus: add searchRandy Mackay2014-12-301-3/+38
|
* batt_smbus: add get_PECRandy Mackay2014-12-301-7/+77
|
* batt_smbus: minor format fixRandy Mackay2014-12-301-1/+1
|
* batt_smbus: remove sleep before I2C transferRandy Mackay2014-12-301-3/+0
|
* batt_smbus: driver for smart batteryRandy Mackay2014-12-301-0/+438