diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2006-12-21 11:23:42 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2006-12-21 11:23:42 +0000 |
commit | a9a99472c501c54713ea8c3a654aa924bdd04b50 (patch) | |
tree | 916c8466a317284a91fe2359e571bd908a8807dd /sys/dev/acpi/acpidev.h | |
parent | 733ed3643d67aeb8a4cd5cd1805475c5be8b9108 (diff) |
more minor knf
Diffstat (limited to 'sys/dev/acpi/acpidev.h')
-rw-r--r-- | sys/dev/acpi/acpidev.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/acpi/acpidev.h b/sys/dev/acpi/acpidev.h index 4fff97272e4..93b4f6f1bc6 100644 --- a/sys/dev/acpi/acpidev.h +++ b/sys/dev/acpi/acpidev.h @@ -1,4 +1,4 @@ -/* $OpenBSD: acpidev.h,v 1.11 2006/11/29 22:17:07 marco Exp $ */ +/* $OpenBSD: acpidev.h,v 1.12 2006/12/21 11:23:41 deraadt Exp $ */ /* * Copyright (c) 2005 Marco Peereboom <marco@openbsd.org> * Copyright (c) 2005 Thorsten Lockert <tholo@sigmasoft.com> @@ -85,11 +85,11 @@ struct acpibat_bif { * Battery Remaining Capacity //DWORD * Battery Present Voltage //DWORD * } - * + * * Per the spec section 10.2.2.3 * Remaining Battery Percentage[%] = (Battery Remaining Capacity [=0 ~ 100] / * Last Full Charged Capacity[=100]) * 100 - * + * * Remaining Battery Life [h] = Battery Remaining Capacity [mAh/mWh] / * Battery Present Rate [=0xFFFFFFFF] = unknown */ |