Link talks about conserving power, But not how to display/monitor real power in real time.
Reasonably close - Most likely, but probably a little on the expensive side.
Newegg sells a Kilowatt meter Less than $20.
http/www.newegg.com/Product/Product.aspx?Item=N82E16882715001&Tpk=p4400
The value shown will be for the computer Plus PSU losses. If you know the effiency of the PSU it then is a simple calculation reading x eff = Computer consumption excluding PSU losses.
Now for the your question of software - I assume you want to display this and/or graph it, on the computer. To do this you would need a unit that will provide a serial port or usb output (Most units similar to this provide a serial port output - For dumping collected temperature/humidity data or Like I have, two digital DVM that will display thier reading on the computer - they were about $100 apiece but got them cheaper as bought on sale.
Think I found one ($131 for meter and &73 for software and probable about as cheap as you will find)
http
/cableorganizer.com/electricity-power-meter/
Reason software does not exist to display this is no Total current measurement is available. If you could "get to" the battery voltage and if total current was available - IN DIGITAL formate then software could be written.
Above would work great for a desktop, But as I just noticed you are talking Laptop and battery. Answer = NO.
But what you can do is remove battery and follow above. The power displayed would be very close to what the Battery would have to provide. Reason for removing battery is to exclude charging current.