Do voltage dividers waste battery?
Voltage divider indeed will drain your battery as long as it is powered. It is common to enable the divider just for reading the value and turn it off again. Here is an example of this approach used in Nordic Thingy (Page 65) :



With signal BAT_MON_EN you turn on/off the divider using the transistors and measure the divider value in signal BATTERY.

In your case, having 4.5V in a 200K resistors divider gives you a consumption of 22.5uA. The capacity of a AAA battery is ~1000mAh, so you have a total capacity of 3000mAh. Using digikey battery life calculator gives you an expected life of ~ 94000 hours, or ~4000 days (10 years). If it is a CR2032 coin battery with a capacity of ~200mAh, its life will be around a year. Keep in mind, it is just for the divider.

It could seem like it is a low consumption, but if you are building low-power devices, the average consumption of the whole system could be less than the divider consumption, in tens of uA or even nA. Then, the divider consumption could shrink your battery life from 5-10 years to 1!