Cannot boot laptop using battery power

Booting, installing, newbie
Post Reply
Message
Author
jethin
Posts: 9
Joined: Wed 26 May 2010, 01:46

Cannot boot laptop using battery power

#1 Post by jethin »

I've installed Puppy 5 on an old HP laptop that I inherited. Everything seems to be working OK except that I can only boot the machine when it is plugged in to a wall socket (ie not from battery power). I clicked on Puppy's battery monitor icon when powered up and everything appears to be OK with the battery as far as I can tell. (though I couldn't get the battery info window to close, but maybe that's another thread.) I've also noticed that there's a little green light that's only on when the computer is plugged in.

My (uneducated) guesses are that it might be the BIOS or maybe GRUB. (GRUB works, but I have to select Puppy from a list at boot time. Maybe I gummed up something on the install?) Otherwise I'm at a loss.

So, can anyone help me troubleshoot and/or fix this problem? I'm new to Puppy and Linux, but I'm looking forward to diving in. This is the one issue that's keeping my old workhorse from being resurrected.

Much obliged, Jeremy

cthisbear
Posts: 4422
Joined: Sun 29 Jan 2006, 22:07
Location: Sydney Australia

#2 Post by cthisbear »

Probably the battery is kakas.

But why not power off, disconnect the cord and take out the battery.

Then after all that hit the power button for 20 seconds
to discharge any stored power.
Costs you nothing to do this.

Put everything back together, turn on boot Puppy
and leave on for an hour to charge up.

Then test just with battery again.

Post your HP specs or model.
Puppy 5...>> means Lucid Pup right.

http://puppylinux.org/news/

HP Notebook PC Battery Pack Replacement

http://bpr.hpordercenter.com/hbpr/

Battery Does not Power Notebook or Hold a Charge

http://h10025.www1.hp.com/ewfrf/wc/docu ... duct=18703

What is the Battery Check?
The HP Battery Check is an easy to use utility that is available on HP Notebook PCs that provides information on the status of the batteries installed in the notebook PC. It reports on the condition of both the primary and secondary battery if the individual notebook is equipped with a secondary battery.

http://h10025.www1.hp.com/ewfrf/wc/docu ... =c00625471

ftp://ftp.hp.com/pub/softpaq/sp41501-42000/sp41862.exe

http://www.computing.net/answers/window ... 32294.html

Chris.

User avatar
Béèm
Posts: 11763
Joined: Wed 22 Nov 2006, 00:47
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

#3 Post by Béèm »

To close the battery info window, just click on it.
You could take a screen-shot of this window and post here.

When booting with the power cord attached and working in puppy, what happens if you pull the power cord? Do the PC powers down? What says the battery info?
Be aware, that if the battery is bad and the PC powers down, you may have corruption, so have a backup before doing so.
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
[url=http://puppylinux.org/wikka/HomePage]Consult Wikka[/url]
Use peppyy's [url=http://wellminded.com/puppy/pupsearch.html]puppysearch[/url]

jethin
Posts: 9
Joined: Wed 26 May 2010, 01:46

#4 Post by jethin »

Thanks for your replies. I'm at work right now, but I'll test all of your suggestions tonight. Beem: When I pull the plug while the machine is on I'm pretty sure it loses power immediately. So perhaps the problem is the battery after all? The only reason I thought not was because the battery monitor window in Puppy seems to indicate that the battery present and charged. The battery detection appears to be working properly -- it only detects the battery when it's physically installed. Perhaps it's reading the charge wrong? The machine is quite old -- maybe the battery is fried after all?

Just had one more thought: This HP laptop has a really strange, old timey design. It actually has an lcd clock (and various DVD control buttons) on the front of it. I wonder if maybe the internal battery has been completely drained and isn't recharging. Might this have anything to do with making a successful boot from the battery or switching to battery power while the pc is on?

Thanks again, and more later.

User avatar
rjbrewer
Posts: 4405
Joined: Tue 22 Jan 2008, 21:41
Location: merriam, kansas

#5 Post by rjbrewer »

jethin wrote:Thanks for your replies. I'm at work right now, but I'll test all of your suggestions tonight. Beem: When I pull the plug while the machine is on I'm pretty sure it loses power immediately. So perhaps the problem is the battery after all? The only reason I thought not was because the battery monitor window in Puppy seems to indicate that the battery present and charged. The battery detection appears to be working properly -- it only detects the battery when it's physically installed. Perhaps it's reading the charge wrong? The machine is quite old -- maybe the battery is fried after all?

Just had one more thought: This HP laptop has a really strange, old timey design. It actually has an lcd clock (and various DVD control buttons) on the front of it. I wonder if maybe the internal battery has been completely drained and isn't recharging. Might this have anything to do with making a successful boot from the battery or switching to battery power while the pc is on?


Thanks again, and more later.
Watch the meter with power cord unplugged; see how fast the
battery discharges.

Inspiron 700m, Pent.M 1.6Ghz, 1Gb ram.
Msi Wind U100, N270 1.6>2.0Ghz, 1.5Gb ram.
Eeepc 8g 701, 900Mhz, 1Gb ram.
Full installs

User avatar
Béèm
Posts: 11763
Joined: Wed 22 Nov 2006, 00:47
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

#6 Post by Béèm »

jethin wrote:Beem: When I pull the plug while the machine is on I'm pretty sure it loses power immediately. So perhaps the problem is the battery after all?
That already, plus the fact that the PC doesn't boot on battery only is a good indication that the battery is fried. As suggested, post the battery info window here.
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
[url=http://puppylinux.org/wikka/HomePage]Consult Wikka[/url]
Use peppyy's [url=http://wellminded.com/puppy/pupsearch.html]puppysearch[/url]

jethin
Posts: 9
Joined: Wed 26 May 2010, 01:46

#7 Post by jethin »

Hello again. Still no luck. As I thought, the machine does immediately cut out when I unplug the power cord even when the battery is installed. But everything I can see indicates that the battery is 100% charged and recognized by the system.

Attached is a pic of the battery info screen in Puppy (5.0 Lucid Puppy). Unless I'm missing something everything seems kosher there.

The machine in question is a Hewlett Packard Pavilion N5470 (F2407M) PC Notebook. Specs here:

http://www.dealtime.com/xPF-Hewlett-Pac ... 470-F2407M

It only has Puppy frugal on it -- I toasted the old Windows install. I've no data on it yet, so I'm not afraid to start hacking at things.

My thoughts are that it's either 1) A bad battery despite all the signs indicating the battery is OK or 2) Something with the BIOS or Puppy that is causing the machine not to switch to battery power when the AC power adapter is unplugged. I'm also wondering if it could be some type of issue with the power management -- ACPI or APM.

Many thanks, Jeremy

User avatar
rjbrewer
Posts: 4405
Joined: Tue 22 Jan 2008, 21:41
Location: merriam, kansas

#8 Post by rjbrewer »

The meter doesn't tell you if the battery is good or bad.
My battery has about a 25 min. usable time; not running videos
or streams.
Even the Xp Battery monitor says it has 100% charge with more
than 5 hours usage remaining. It stays that way for the 25 mins.
and then instantly drops to 7% , and says immediately recharge.

If the battery is still capable of taking "any" charge, the meter will
show that while it's charging.

Inspiron 700m, Pent.M 1.6Ghz, 1Gb ram.
Msi Wind U100, N270 1.6>2.0Ghz, 1.5Gb ram.
Eeepc 8g 701, 900Mhz, 1Gb ram.
Full installs

p310don
Posts: 1492
Joined: Tue 19 May 2009, 23:11
Location: Brisbane, Australia

#9 Post by p310don »

From my limited knowledge of rechargeable batteries, as they age, they continue to indicate that they are being charged / discharged correctly, but due to crystalisation in the cells, the usable capacity significantly decreases. I would suggest this has happened in your case.

Look into getting a new battery. Not sure if you want to spend money on an old laptop, but try http://www.dealextreme.com/search.dx/se ... %20battery for cheap laptop batteries.

User avatar
rjbrewer
Posts: 4405
Joined: Tue 22 Jan 2008, 21:41
Location: merriam, kansas

#10 Post by rjbrewer »

jethin wrote:Hello again. Still no luck. As I thought, the machine does immediately cut out when I unplug the power cord even when the battery is installed. But everything I can see indicates that the battery is 100% charged and recognized by the system.

Attached is a pic of the battery info screen in Puppy (5.0 Lucid Puppy). Unless I'm missing something everything seems kosher there.

The machine in question is a Hewlett Packard Pavilion N5470 (F2407M) PC Notebook. Specs here:

http://www.dealtime.com/xPF-Hewlett-Pac ... 470-F2407M

It only has Puppy frugal on it -- I toasted the old Windows install. I've no data on it yet, so I'm not afraid to start hacking at things.

My thoughts are that it's either 1) A bad battery despite all the signs indicating the battery is OK or 2) Something with the BIOS or Puppy that is causing the machine not to switch to battery power when the AC power adapter is unplugged. I'm also wondering if it could be some type of issue with the power management -- ACPI or APM.

Many thanks, Jeremy
That info screen in Lucid 5 is showing mWh; doesn't make sense.
In Lucid 5.01 it shows mAh; which does.

Inspiron 700m, Pent.M 1.6Ghz, 1Gb ram.
Msi Wind U100, N270 1.6>2.0Ghz, 1.5Gb ram.
Eeepc 8g 701, 900Mhz, 1Gb ram.
Full installs

User avatar
Béèm
Posts: 11763
Joined: Wed 22 Nov 2006, 00:47
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

#11 Post by Béèm »

jethin wrote:Hello again. Still no luck. As I thought, the machine does immediately cut out when I unplug the power cord even when the battery is installed. But everything I can see indicates that the battery is 100% charged and recognized by the system.

Attached is a pic of the battery info screen in Puppy (5.0 Lucid Puppy). Unless I'm missing something everything seems kosher there.

The machine in question is a Hewlett Packard Pavilion N5470 (F2407M) PC Notebook. Specs here:

http://www.dealtime.com/xPF-Hewlett-Pac ... 470-F2407M

It only has Puppy frugal on it -- I toasted the old Windows install. I've no data on it yet, so I'm not afraid to start hacking at things.

My thoughts are that it's either 1) A bad battery despite all the signs indicating the battery is OK or 2) Something with the BIOS or Puppy that is causing the machine not to switch to battery power when the AC power adapter is unplugged. I'm also wondering if it could be some type of issue with the power management -- ACPI or APM.

Many thanks, Jeremy
There is something seriously wrong with the battery indication. Probably in your hardware.
It's not possible that you have indications that every thing is at full charge, while when pulling the plus, there is no power anymore.

My battery indicates clearly that I don't have full capacity anymore.
Attachments
battery-R40.png
(7.85 KiB) Downloaded 1070 times
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
[url=http://puppylinux.org/wikka/HomePage]Consult Wikka[/url]
Use peppyy's [url=http://wellminded.com/puppy/pupsearch.html]puppysearch[/url]

jethin
Posts: 9
Joined: Wed 26 May 2010, 01:46

#12 Post by jethin »

So to recap: Something is wrong with the battery monitor info displayed by Puppy, which indicates that the battery is fully charged and essentially functional when it's actually dead. The first step in trying to resolve this problem is to replace the battery. If this doesn't work for some reason then the problem likely exists elsewhere in the computer's hardware -- not the OS, config (ACPI/APM), or the BIOS.

Please let me know if I've got any of this wrong. I'll begin looking for a new battery and will plan to update this post once I get one and try it out.

Thanks again for all the info and suggestions. I'm glad to know that Puppy has such a helpful community of folks using it.

User avatar
rjbrewer
Posts: 4405
Joined: Tue 22 Jan 2008, 21:41
Location: merriam, kansas

#13 Post by rjbrewer »

jethin wrote:So to recap: Something is wrong with the battery monitor info displayed by Puppy, which indicates that the battery is fully charged and essentially functional when it's actually dead. The first step in trying to resolve this problem is to replace the battery. If this doesn't work for some reason then the problem likely exists elsewhere in the computer's hardware -- not the OS, config (ACPI/APM), or the BIOS.

Please let me know if I've got any of this wrong. I'll begin looking for a new battery and will plan to update this post once I get one and try it out.

Thanks again for all the info and suggestions. I'm glad to know that Puppy has such a helpful community of folks using it.
It's not that something is wrong with the monitors; my xp monitor has similar
discrepancies.

When a battery is brand new and especially when dead or near dead, the
monitors will give conflicting information.

Inspiron 700m, Pent.M 1.6Ghz, 1Gb ram.
Msi Wind U100, N270 1.6>2.0Ghz, 1.5Gb ram.
Eeepc 8g 701, 900Mhz, 1Gb ram.
Full installs

jethin
Posts: 9
Joined: Wed 26 May 2010, 01:46

#14 Post by jethin »

It was indeed the battery after all.

Maybe I' missing something -- and I don't even know if it's possible -- but I think it'd be great if someone wrote a "battery health" type app that could measure whether a laptop's battery is able to hold any charge at all and perhaps give an approximate amount of life it has left rechage-wise. It would be awesome if this could be integrated into the current Puppy battery app/info.

Just a thought. Anyhow, thanks again for all the help.

looseSCREWorTWO
Posts: 812
Joined: Thu 04 Feb 2010, 13:16
Location: Australia, 1999 Toshiba laptop, 512mb RAM, no HDD, 431 Retro & 421 Retro

#15 Post by looseSCREWorTWO »

Instead of spending big money on a battery for a 7 or 8 y.o. notebook, I would be looking at buying a 4 or 5 y.o notebook from a second-hand shop. Something with Windows XP on it. You have to be able to see the PC before you buy it (which generally rules out eBay) cos before handing over the cash you want to do a few simple tests such as:-

- play a movie DVD with the AC power-cord removed. Is the picture OK? Sound? How's the battery holding-up? Playing a movie DVD in Windows gives the CPU a good work-out and also checks if the DVD Drive is reading OK.

- take a blank DVD-R disk with you and try burning something to it.

- take a few Puppy CDs with you and see if any of them will boot up the PC. Then go into Menu > System > Hardinfo and check what Puppy says about the PC against what the seller is saying.

The second-hand computer shops love me.
Steve

User avatar
mickee
Posts: 207
Joined: Tue 08 Feb 2011, 14:59
Location: Saskatoon SK Canada, Gateway 5300 Laptop, 600MHz Celeron, 384MB RAM, lucid puppy 5.2 (Full Install)
Contact:

#16 Post by mickee »


Just curious, where does this message pop up? I tried clicking on the battery icon (lucid 5.2) and it just gives me a tooltip bubble.
Last edited by mickee on Wed 23 Mar 2011, 00:59, edited 1 time in total.
[img]http://i17.photobucket.com/albums/b68/The_Wizard_of_OZ/Lindows-NOT-1.jpg[/img]
Linux is [i][b]NOT[/b][/i] Windows. Doesn't [i][b]PRETEND[/b][/i] to be, Doesn't [i][b]WANT [/b][/i]to be; Don't try to [i][b]MAKE[/b][/i] it be.

User avatar
Karl Godt
Posts: 4199
Joined: Sun 20 Jun 2010, 13:52
Location: Kiel,Germany

Battery Info

#17 Post by Karl Godt »

Should be located @ /root/Startup/powerapplet_tray

It seems to look for info @ /proc/acpi/battery/BAT0/alarm info state

might be problematic if you boot with acpi=no
or your BIOS dates before 2001 which would mean that acpi is disabled by default ( changeable in the Kernel Configuration at compile time )
which would mean to boot with acpi=force to enable it,
which would disable apm automatically
and might lead to different shutdown behaviour .

There is also the acpi battery driver module

Code: Select all

modprobe battery
I tried clicking on the battery icon
Try left clicking the icon :?:

User avatar
mickee
Posts: 207
Joined: Tue 08 Feb 2011, 14:59
Location: Saskatoon SK Canada, Gateway 5300 Laptop, 600MHz Celeron, 384MB RAM, lucid puppy 5.2 (Full Install)
Contact:

Re: Battery Info

#18 Post by mickee »

Karl Godt wrote:Should be located @ /root/Startup/powerapplet_tray

It seems to look for info @ /proc/acpi/battery/BAT0/alarm info state

might be problematic if you boot with acpi=no
or your BIOS dates before 2001 which would mean that acpi is disabled by default ( changeable in the Kernel Configuration at compile time )
which would mean to boot with acpi=force to enable it,
which would disable apm automatically
and might lead to different shutdown behaviour .

There is also the acpi battery driver module

Code: Select all

modprobe battery
I tried clicking on the battery icon
Try left clicking the icon :?:
Yeah, BIOS is 1999. And acpi not available (I think I saw that somewher the pup told me?. Thanks for the info.

User avatar
Karl Godt
Posts: 4199
Joined: Sun 20 Jun 2010, 13:52
Location: Kiel,Germany

#19 Post by Karl Godt »

Just checked again

Code: Select all

grep 'CONFIG_ACPI_BLACKLIST_YEAR' /etc/modules/DOTconfig-K2.6.30.5-01SEPT09-TICKLESS-SMP 
CONFIG_ACPI_BLACKLIST_YEAR=2002
and
acpi= [HW,ACPI,X86]
Advanced Configuration and Power Interface
Format: { force | off | strict | noirq | rsdt }
force -- enable ACPI if default was off
off -- disable ACPI if default was on
noirq -- do not use ACPI for IRQ routing
strict -- Be less tolerant of platforms that are not
strictly ACPI specification compliant.
rsdt -- prefer RSDT over (default) XSDT
copy_dsdt -- copy DSDT to memory

See also Documentation/power/pm.txt, pci=noacpi
I am still testing kernel params to enable the it87 temperature module against acpi with support for real poweroff[ not standby ].
So excuse for '2001' and 'acpi=no'

It would be interesting to hear , if your're able to load the "apm" module
* Various options can be changed at boot time as follows:
* (We allow underscores for compatibility with the modules code)
* apm=on/off enable/disable APM
* [no-]allow[-_]ints allow interrupts during BIOS calls
* [no-]broken[-_]psr BIOS has a broken GetPowerStatus call
* [no-]realmode[-_]power[-_]off switch to real mode before
* powering off
* [no-]debug log some debugging messages
* [no-]power[-_]off power off on shutdown
* [no-]smp Use apm even on an SMP box
* bounce[-_]interval=<n> number of ticks to ignore suspend
* bounces
* idle[-_]threshold=<n> System idle percentage above which to
* make APM BIOS idle calls. Set it to
* 100 to disable.
* idle[-_]period=<n> Period (in 1/100s of a second) over
* which the idle percentage is
* calculated.
*/

/* KNOWN PROBLEM MACHINES:
*
* U: TI 4000M TravelMate: BIOS is *NOT* APM compliant
* [Confirmed by TI representative]
* ?: ACER 486DX4/75: uses dseg 0040, in violation of APM specification
* [Confirmed by BIOS disassembly]
* [This may work now ...]
* P: Toshiba 1950S: battery life information only gets updated after resume
* P: Midwest Micro Soundbook Elite DX2/66 monochrome: screen blanking
* broken in BIOS [Reported by Garst R. Reese <reese@isn.net>]
* ?: AcerNote-950: oops on reading /proc/apm - workaround is a WIP
* Neale Banks <neale@lowendale.com.au> December 2000
*
* Legend: U = unusable with APM patches
* P = partially usable with APM patches
*/

Post Reply