The BIOS in modern Dell laptops (e.g. XPS 15), at least, allows you to configure different modes of operation to make the battery last longer. You can choose to charge more slowly but have the lifetime of the cells extended, or charge quickly which will yield less cycles. I'm guessing other manufacturers allow some control over these things as well.