summaryrefslogtreecommitdiffstats
path: root/linux/Battery.c
AgeCommit message (Expand)Author
2020-10-05Update License consistently to GPLv2 as per COPYING fileDaniel Lange
2020-09-29Drop redundant casts to the same typeChristian Göttsche
2020-09-24Do not drop qualifier in castChristian Göttsche
2020-09-24Include prototype in Battery implementationChristian Göttsche
2020-09-24Use return value of CLAMP functionBenny Baumann
2020-09-24Update battery API to use NAN on errorBenny Baumann
2020-09-18Use strict function prototypesChristian Göttsche
2020-08-28Increae the size of sysfs power supply path buffersNathan Scott
2020-08-25Avoid shadowing warningsChristian Göttsche
2020-08-20Merge branch 'hishamhm-pull-960'Nathan Scott
2019-10-31Clean up existing whitespaceDaniel Flanagan
2019-09-07Linux: fixes sysfs battery discoverysmattie
2018-02-18linux/Battery.c: make sure fd is always closedHisham Muhammad
2018-02-04parseBatInfo: check `line` for NULL before passing it to String_getToken()Jan Chren (rindeal)
2017-07-27Security review: check results of snprintf.Hisham Muhammad
2017-07-26Use regular readdir since readdir_r is deprecated and newer GCC complains.Hisham Muhammad
2017-02-15Cap battery at 100%.Hisham
2016-08-11Optimize Strings_startWith()Explorer09
2016-06-19Dynamically adjust the size of line readsHisham Muhammad
2016-02-02Check for failure in allocations.Hisham
2015-08-19Rename String to StringUtils.David Hunt
2015-02-23Silence warnings reported in #70.Hisham Muhammad
2015-01-23Another mega-patch for the refactoring process.Hisham Muhammad
2014-11-27Move platform-dependent parts of Linux battery meter.Hisham Muhammad