My Gigabyte G7 KF is about three years old, and its battery still provides roughly two hours of use. It usually stays connected to a charger with the smart-charging limit enabled, so it rarely reaches 100% or gets fully discharged. Recently, the laptop began shutting down during Windows startup if the charger is disconnected. At the login screen, Windows initially reports a normal charge level—such as 78%—but when the system finishes logging in, the indicator suddenly drops to 0% and the laptop powers off. If I start the laptop while plugged in, I can disconnect the charger after Windows loads and use it normally.
2 Answers
The battery gauge may need recalibration, especially since the laptop is normally kept within an 70–80% charge range. Try charging it fully, then boot into the BIOS and let it run on battery until it shuts down. Charge it back to full afterward and check whether the reported percentage becomes reliable. Since the battery is around three years old, replacement may still be necessary if its cells or controller are deteriorating.
Because the laptop can run for hours on battery in the BIOS and another bootable operating system, the battery is probably delivering power correctly. The problem may occur when Windows takes over power management during login. In Device Manager, remove both the Microsoft ACPI-Compliant Control Method Battery and Microsoft AC Adapter entries under Batteries, then restart so Windows reinstalls them. If that fails, check Gigabyte's support page for a BIOS or embedded-controller update specifically matching the G7 KF. Do not install firmware or drivers intended for a similar but different laptop model, since an incompatible BIOS or EC package could make the system unusable.
I removed both battery-related entries and allowed Windows to reinstall them, but the laptop still shut down when I tried starting it without the charger. I also checked Gigabyte's support downloads, but I could not find an obvious battery-specific driver for this exact model, so I am unsure whether a package for another model would be safe.

If recalibration does not change anything, inspect the battery connection and charging hardware, then consider replacing the battery. The fact that it still lasts about two hours does not completely rule out a failing battery controller.