Laptops can be powered either from an internal battery or by an external power supply from an AC adapter.