Optimal power use for laptops

I have a query. Which of the two ways of usage of your notebook (battery) is more power friendly:
(a) charging it to full battery and then using it till the battery gets nearly exhausted and doing this repetitively. If your laptop battery helps you work for 2 hours (assuming normal usage) and say you work [...]