Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 270607 Details for
Bug 363265
app-laptop/laptop-mode-tools does not cope with multiple batteries
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to fix multiple batteries on HP EliteBook 8540w
laptop_mode-1.55-r1.patch (text/plain), 1.14 KB, created by
Lyall Pearce
on 2011-04-20 00:36:28 UTC
(
hide
)
Description:
Patch to fix multiple batteries on HP EliteBook 8540w
Filename:
MIME Type:
Creator:
Lyall Pearce
Created:
2011-04-20 00:36:28 UTC
Size:
1.14 KB
patch
obsolete
>*** /usr/sbin/laptop_mode 2010-12-28 11:14:08.000000000 +1030 >--- /tmp/laptop_mode_patched 2011-04-20 09:47:21.299040150 +0930 >*************** >*** 781,793 **** > # have no effect; this is only a final fallback.) > ENOUGH_CHARGE=1 > fi >! fi >! if [ "$AUTO_HIBERNATION_ON_CRITICAL_BATTERY_LEVEL" -ne 0 ] ; then >! if [ "$REMAINING" -le "$ALARM_LEVEL" ] ; then >! ENOUGH_CHARGE_TO_PREVENT_HIBERNATION=$PREV_ENOUGH_CHARGE_TO_PREVENT_HIBERNATION >! elif [ "$FOUND_AN_ENABLED_HIBERNATION_CHECK" -eq 0 ] ; then >! ENOUGH_CHARGE_TO_PREVENT_HIBERNATION=1 >! fi > fi > > # >--- 781,793 ---- > # have no effect; this is only a final fallback.) > ENOUGH_CHARGE=1 > fi >! if [ "$AUTO_HIBERNATION_ON_CRITICAL_BATTERY_LEVEL" -ne 0 ] ; then >! if [ "$REMAINING" -le "$ALARM_LEVEL" ] ; then >! ENOUGH_CHARGE_TO_PREVENT_HIBERNATION=$PREV_ENOUGH_CHARGE_TO_PREVENT_HIBERNATION >! elif [ "$FOUND_AN_ENABLED_HIBERNATION_CHECK" -eq 0 ] ; then >! ENOUGH_CHARGE_TO_PREVENT_HIBERNATION=1 >! fi >! fi > fi > > #
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 363265
:
269621
|
269623
| 270607