what is the battery life of a windows laptop
Six to ten hours for standard web browsing or office work.
Buy a budget machine or one with a dedicated Nvidia GPU and you'll get three to four hours. Thin laptops with Snapdragon X Elite or Intel Core Ultra chips can stretch past fourteen hours, assuming you turn the brightness down.
The battery itself lasts two to four years before runtime falls off a cliff. That's about 300 to 500 charge cycles. Leaving it on a dock at 100% charge all day generates steady heat that'll ruin the pack much faster.
You can check the wear yourself. Open Command Prompt, type powercfg /batteryreport and press Enter. It drops an HTML file in your user folder that sets your original design capacity against what the battery can hold now (the full charge capacity). When that number falls below 70% of the original figure, you'll feel it off the charger. Fresh packs from Dell, Lenovo or HP run $50 to $120.