summaryrefslogtreecommitdiff
path: root/sys/dev/acpi/acpibat.c
AgeCommit message (Expand)Author
2024-08-05Fix reporting if critical battery state.Mark Kettenis
2024-06-24Some machines send AC change notifications to acpibat(4). Forward thisMarcus Glocker
2022-04-06constify struct cfattachChristian Weisgerber
2022-02-09add Surface Go 3 hid to acpibat(4)Dave Voutila
2020-06-10Give userland a consistent battery and A/C state after resumeJeremie Courreges-Anglas
2018-07-01acpi: clean up some inconsistent style in the hid matching arraysMike Larkin
2017-09-04Don't require exactly 20 elements in the _BIX package if at least 20Joshua Stein
2017-07-25fallback on _BIF properly when _BIX exists and returns a packageJoshua Stein
2017-07-22acpibat: look for _BIX first before falling back on _BIFJoshua Stein
2017-03-12try to attach acpisbs first and if successful, don't attach acpibatJoshua Stein
2015-03-14Remove some includes include-what-you-use claims don'tJonathan Gray
2014-09-14remove uneeded proc.h includesJonathan Gray
2014-05-23Expose bif_capacity as the 'design capacity' through an acpibat sensor,Landry Breuil
2011-10-16Provide battery charge/discharge rate in proper units.Mark Kettenis
2010-11-10The acpibat(4) notify function should not unconditionally call both _BIFMark Kettenis
2010-08-07Generate power change events for APM. Makes powerup and powerdown scriptsCan Erkin Acar
2010-07-21spacing and indents that are driving me crazyTheo de Raadt
2009-11-24Reporting battery insert/removal was debug code. dmesg is notTheo de Raadt
2009-03-11More aml_evalinteger fixupJordan Hargrave
2008-11-06Collapse all sanity checks of hids into one function.Marco Peereboom
2008-08-14add missing semicolon; ok mbalmer@, marco@Robert Nagy
2008-08-05Fix spurious 0 values on batteries seen on laptopts that have an embeddedMarco Peereboom
2008-06-13Properly handle battery insertion/removalJordan Hargrave
2008-06-01Re-enable new parser. Lots of testing by various folks. Fits all mediaMarco Peereboom
2008-05-16back out jordans new parser.David Gwynne
2008-05-14Adding new ACPI Parser codeJordan Hargrave
2007-11-16quotes around model name tooTheo de Raadt
2007-11-12spacingTheo de Raadt
2007-11-12spacingTheo de Raadt
2007-11-12only print bif info that is completeTheo de Raadt
2007-11-08convert the value to a string instead of using aml_val2str()Can Erkin Acar
2007-11-03repair attach messages; ok gwk canacarTheo de Raadt
2007-03-20Use aml_val2int() instead of accessing v_integer directly.Michael Knudsen
2007-02-17Since a full battery can still have state BST_CHARGE ("charging"),Deanna Phillips
2007-01-25Do the sensor magic correctly. Found by Constantine Murenin.Marco Peereboom
2006-12-26Add polling to devices that require it such as acpibat and acpitz.Marco Peereboom
2006-12-23adapt to new two-level sensor api; Constantine A. MureninTheo de Raadt
2006-12-21even more knf loveTheo de Raadt
2006-12-21Tweak to report full battery.Marco Peereboom
2006-12-21more minor knfTheo de Raadt
2006-12-21Fix silly logic errors.Marco Peereboom
2006-12-21Silence acpibat significantly and shave off about 1k. Also add some smartsMarco Peereboom
2006-11-29After a long debate at the hackathon it was decided that the acpi implementationMarco Peereboom
2006-10-19Reduce the scope of the locks.Marco Peereboom
2006-10-19KNF and some cleanupMarco Peereboom
2006-10-19Replace ACPI ioctls with APM ioctls. This makes ACPI talk the same protocolMarco Peereboom
2006-10-19Fix capacity calculations. Tested on Dell C610, D810, Lenovo X60s.Marco Peereboom
2006-10-12Massive ACPI changesJordan Hargrave
2006-09-19Typo fixes.Michael Knudsen
2006-06-06fix a bad strlcpy, from ben lovettJolan Luff