summaryrefslogtreecommitdiff
path: root/sys/dev/acpi/acpi_bat.c
AgeCommit message (Expand)Author
2006-02-20use aprint_*kochi
2006-02-16prototypes don't need argument nameskochi
2005-12-11merge ktrace-lwp.christos
2004-06-25Handle a "device check" message by reloading battery information.mycroft
2004-05-01specify static where appropriate.kochi
2004-04-12minor space nit from Alexander Yurchenko.kochi
2004-04-11return (x) -> return xkochi
2004-03-24Make it compile (int -> ACPI_INTEGER)kanaoka
2003-11-03More cleanup:mycroft
2003-11-03Clean up some messages:mycroft
2003-11-03* now the size of ACPI_DEVICE_INFO is variable:kochi
2003-11-01Don't bothering reinitializing the sensor name strings when the battery infomycroft
2003-11-01Provide percentages for the threshold values too.mycroft
2003-11-01Whoops, made a typo there.mycroft
2003-11-01Split "load" into "charge rate" and "discharge rate", depending on the statemycroft
2003-11-01Small change to use the "last full capacity" as the capacity maximum.mycroft
2003-11-01There's no need to clear the data_s fields now that the VALID bits are correct.mycroft
2003-11-01Remove some unused #defines.mycroft
2003-10-31Remove an outdated comment.mycroft
2003-10-31Catch up with ABI changes in ACPI-CA. Some additional changes to acpi_bat tomycroft
2003-10-30Use ratecheck() to prevent envstat(1) doing many ACPI calls at once. Now mymycroft
2003-08-31The unit displayed when printing battery capacities andgson
2003-05-29The remaining capacity percentage was incorrect for batteries larger thangson
2003-05-22* make use of NetBSD ACPI APIs (acpi_eval_{struct,integer})kochi
2003-04-26this doesn't need to include callout.h anymore.yamt
2003-02-24back-out previous; it was wrong.christos
2003-02-24fix memory leaks.christos
2003-02-17fix a few problems in the last commit:tshiozak
2003-02-16- reduce the frequency of updating informations on the power sources;tshiozak
2002-12-31add envsys support to acpi A/C adapter and batteries. This is still a workexplorer
2002-12-30When a battery isn't present, display that rather than bogus values.explorer
2002-12-30Fix build break..chris
2002-12-30clean up printing of battery info. This includes other changes I've toyed wi...explorer
2002-12-30Again, in acpibat_get_status, bail rather than continuing if the packagejmcneill
2002-12-30Oops, I didn't mean for that commented out verbose flag to make it into thejmcneill
2002-12-30If we receive a battery information package with less than 13 elements,jmcneill
2002-10-02Add trailing ; to CFATTACH_DECL.thorpej
2002-09-30Use CFATTACH_DECL().thorpej
2002-09-27Declare all cfattach structures const.thorpej
2002-08-20Fix battery support (Masanori Kanaoka).christos
2002-08-18- Fix typo in a message.kanaoka
2002-08-02display the V, W, and Wh rather than mV, mW, and mWhexplorer
2002-03-24Prototype ACPI Control Method Battery driver.sommerfeld