Subject: kern/9515: Using apm device shortens battery life
To: None <gnats-bugs@gnats.netbsd.org>
From: None <root@ihack.net>
List: netbsd-bugs
Date: 02/29/2000 23:12:34
>Number:         9515
>Category:       kern
>Synopsis:       Using apm device shortens battery life
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Feb 29 23:12:00 2000
>Last-Modified:
>Originator:     Charles M. Hannum
>Organization:
	Internetwork Hacker
>Release:        -current as of 20000226
>Environment:
	Toshiba Satellite 2550CDT
System: NetBSD mururoa.ihack.net 1.4T NetBSD 1.4T (LOP-NOR) #45: Tue Feb 29 23:09:41 EST 2000 mycroft@mururoa.ihack.net:/usr/src/sys/arch/i386/compile/LOP-NOR i386


>Description:
	Due to excessive log writing, using the apm device -- with or without
	apmd -- shortens battery life substantially by causing the disk to
	spin up repeatedly.  Even using `-o async' does not solve this, because
	the `trickle sync' code defeats one of the benefits of `-o async'.
	(This is probably a separate bug...)

>How-To-Repeat:
	Install a kernel with apm.  Unplug the power cable.

>Fix:
	Remove some of the excessive logging.  It's particularly silly since
	it's not even normally displayed.  Like I need to see what my battery
	life was 10 days, 12 hours and 3 minutes ago when I look at the syslog
	logs?
>Audit-Trail:
>Unformatted: