Post by Paul
"Change settings that are currently unavailable"
Didn't even think to mention that option. Forgot the OP said some of
the power options were disabled.
Post by Paul
ACPI stuff is damaged
Got me wondering how old is the laptop. Were any laptops manufactured
before ACPI became ubiquitous? We don't know what brand and model the
OP has so no way to tell how old it is. Even if ACPI is available in
the BIOS, perhaps the laptop was configured to use the old APM mode
instead of ACPI mode.
APM Suspend: Most devices are powered off, but the system state is
saved. The computer can be returned to its former state,
but takes a relatively long time.
(Hibernation is a special form of the APM Suspend state).
Hibernate was supposedly available but will Windows work with APM to get
into hibernate mode? For example:
Suspend to disk (Hibernate)
The Phoenix BIOS allows you three ways to hibernate with APM:
using a hibernation file on a dos type partition
DOS type partition. Hmm, what if Windows is running on an NTFS
partition? The hardware abstraction layer (HAL) installed when Windows
gets installed depends on which power mode the computer supports and was
configured to use in its BIOS. APM is the legacy method based on hidden
hardware (SMI/SMM) and relied on a machine-specific BIOS feature set.
Not all APM-capable computers are supported by Windows. If APM was not
enabled within Windows during its installation (and ACPI wasn't used as
a superceding specification for power management), that computer's BIOS
is known to have problems, it was on the disable list, or is not on the
auto-enable APM list. apmstat.exe tool is too old, system requirements
list only Windows 2000, and it won't work with multiple processors
(whether physically separate or multi-core).
The OP could go into Device Manager (devmgmt.msc), use the View -> Show
hidden devices menu, expand the Computer tree node, and hopefully sees
it is an ACPI HAL getting used in Windows on his laptop (and it should
be Microsoft's driver so Windows knows how to communicate with it - but
then the MS driver needs to know how to communicate with the BIOS which
is easy for ACPI but vendor BIOS-specific for APM). Under the System
Devices tree node should also be the ACPI Fixed Feature Button and ACPI
Power Button devices. I assumed the OP either got this laptop already
setup by its maker or he made sure the laptops chipset driver package
was installed. While DevMgr lets the user update the driver for a
device, I'm reluctant to suggest doing so for a computer that is fully
functional but lacks one non-critical convenience feature (hibernate).
Just because ACPI replaced APM doesn't mean BIOS vendors didn't screw up
the hardware definitions in the ACPI that Windows queries. As yet, we
have no idea of brand and model of the laptop and are trying to resolve
a problem on some generic and vague "laptop". See:
hiberfil.sys must be on the same boot partition as where Windows loads
(its boot partition for the kernel, rest of Windows and apps which may
or may not be the same as the system partition which is used to boot).
That is, hiberfil.sys is in the root folder of the same partition where
is the \Windows folder. While the OP mentioned C:\hiberfil.sys for its
location, what if C: wasn't the boot partition but instead, say, E: was
Windows' boot partition. We, as yet, really don't know how this laptop
was configured for booting or its partitioning.
Maybe the OP needs to delete all hiberfil.sys files wherever they are
and let Windows create a new one in the correct location. If the OP
cannot get hibernate mode enabled to use it, the hiberfil.sys file is
just wasting disk space. Also might be time to run "chkdsk /r C:".
While all the troubleshooting, so far, has been to display Hibernate at
various places in the Windows GUI (Start Menu's power button or
drop-down list, action for a button, etc), perhaps the OP needs to first
check that hibernate will work. Supposedly "powercfg -h on" enabled it,
so see it the laptop can actually go into hibernate mode sans all the
GUI methods and just start a hibernate from the command line (probably
requires a command shell with admin privileges):
Run "shutdown /?" to see all the options in the shutdown.exe program.
Because I switched from an HDD for the OS partition (which is both the
system and boot partition) to an SSD, I don't want to waste the limited
write cycles of the SSD on a hibernate file. The SSD makes the OS load
faster which was half the reason for using a hibernate file. If I am
done with a Windows session, I don't leave programs or documents open.
I close everything or have Shutdown do that. After all, how long will
it take to reopen the same .doc file, especially since it is in Word's
recent docs list? I can't hibernate during a compile or while video
editing as those likely won't tolerate the interruption. With 16 GB of
system memory, that's a lot of wasted space and a lot of writes on a
256GB SSD for a feature that isn't really that helpful.
Without a main battery, the OP's laptop has become a low-end desktop.
He will have to keep looking for A/C power to use with the adapter.
Likely that laptop isn't moving anywhere which means it isn't getting
"unplugged from the mains". If the laptop is still moving around, well,
the time to start Windows is only a little longer than the time to read
the hiberfil.sys file into memory -- unless the OP has a ton of startup
programs eating up his memory. So either close everything down before
shutting down Windows or just leave the laptop running. With a main
battery, why couldn't the laptop still go into sleep mode? The laptop
won't power off so its memory keeps its state.
If the laptop is indeed still being used as a portable computer, and if
hibernate isn't available (perhaps because of a BIOS limitation or
setting), then cold booting is what the OP will have to do until he gets
a new main battery. Besides, having a main battery to keep the laptop
in low-power mode isn't a long-time solution. The battery will still
drain which means eventually the laptop will still have to turn off.
Some things the OP should do or consider:
- Is the unidentified laptop using APM or ACPI?
- Tried deleting the hiberfil.sys file? Just wasted space if cannot get
hibernate to work. If hibernate is made to work, it ALWAYS recreates
the ENTIRE file, anyway.
- Does "shutdown /h" work to put the laptop into hibernate mode?
- How is the Windows boot partition formatted? FAT or NTFS?
- How much system memory is there (copied into the hiberfil.sys file)?
Is it more than 4GB?
FAT16/32 has a limit of 4GB for maximum file size. You cannot save
memory into a hiberfil.sys in a file system where the maximum file
size is less than the system memory size. ALL of system memory gets
copied into hiberfil.sys, not just the currently allocated blocks.
- Just how expensive is a new main battery for the unidentified laptop?
The whole point of a portable computer is that it is portable, not
fixed to desktop-like locations for where A/C power is available.