ina219 sketch from adafruit gives errors

I have downloaded the adafruit sotware to run a INA219 board. Without any changes to the software from adafruit, I have verified it. It comes up with errors.

/tmp/611850348/getcurrent/getcurrent.ino: In function ‘void setup()’:

/tmp/611850348/getcurrent/getcurrent.ino:15:12: warning: unused variable ‘currentFrequency’ [-Wunused-variable]

uint32_t currentFrequency;

^

/tmp/611850348/getcurrent/getcurrent.ino: In function ‘void loop()’:

/tmp/611850348/getcurrent/getcurrent.ino:42:21: error: ‘class Adafruit_INA219’ has no member named ‘getPower_mW’

power_mW = ina219.getPower_mW();

^

exit status 1

What am I doing wrong?

(deleted)

Link to the library download you used please, and explain the exact steps to follow to recreate the issue. Don't expect us to guess this.