[ltp] Running without a battery?

Behdad Esfahbod linux-thinkpad@linux-thinkpad.org
Wed, 14 Jan 2004 23:05:34 -0500


On Wed, 14 Jan 2004, Bob Toxen wrote:

> Where might I buy a Lithium battery cheaply for my RR31?  I live in the U.S.
> but was not smart enough to remove the battery from the laptop that normally
> runs continuously until now.  Now, a year later the battery has lost about
> 67% of its charge.

Last time we discussed about batteries aging, it turned out
Lithium Neon batteries do not suffer from keeping on top charged.

behdad


> Here's my enhanced spin.c:
> /*
>  * Spin.  Placed into the public domain by Bob Toxen.
>  */
>
> #include <stdio.h>
> #include <time.h>
>
> time_t time(time_t *);
>
> main() {
> 	volatile
> 	int	i	= 2E9;
> 	time_t	start;
>
> 	time(&start);
> 	while (i)
> 		i--;
> 	printf("spun for %ld seconds\n", (long) (time(0) - start));
> 	exit(0);
> }
>
> Bob Toxen, CTO
> Fly-By-Day Consulting, Inc.
> "Your expert in Firewalls, Virus and Spam Filters, VPNs,
> Network Monitoring, and Network Security consulting"
> bob@verysecurelinux.com (e-mail)
> http://www.verysecurelinux.com       [Network & Linux/Unix Security Consulting]
>