[LPIA Hardy LUM] Disable RTC wake alarm to reduce power in Hibernate - attempt #3

Colin Ian King colin.king at canonical.com
Wed Mar 18 13:37:24 UTC 2009


Attempt #3, aligned with comments from rtg, smb and apw.

https://bugs.launchpad.net/dennis/+bug/337943

Note: This fix comes in 2 patches, the first is general code tidyup 
(whitespace/tab indentation, formatting) and removing a whole load of
warnings and errors from checkpatch.
 
The second patch is the fix to reduce power consumption during
hibernate.

Bug: LP#337943

LPIA Hardy Lum

Add sysfs control to enable or disable RTC Event Enable (RTC_EN) bit
of port ACPI PM1a_EVT_BLK because the BIOS overlooked this
functionality on the HP Mini. Disabling this before hibernate saves
several mAh.

Note that this extends the existing power management tweaks for this
particular netbook specific module.

Attached:

Patch 1 - code tidy up - remove a whole load of checkpatch warnings
Patch 2 - fix to reduce power consumption


-- 
Colin King   <colin.king at canonical.com>
"Me transmitte sursum, caledoni" 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-UBUNTU-SAUCE-hpmini-source-reformatting-and-tidy.patch
Type: text/x-patch
Size: 16049 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20090318/a8957fff/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-UBUNTU-SAUCE-hpmini-Disable-RTC-wake-alarm-to-red.patch
Type: text/x-patch
Size: 6037 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20090318/a8957fff/attachment-0001.bin>


More information about the kernel-team mailing list