Gordon Wallace of the University of Wollongong in New South Wales highlights the fact that presently it is very difficult to control how quickly implants release their payload.
The researcher says that the biobattery produces a current of a known strength that controls the drug's release.
A research article on his approach reveals that the smart implant is based on magnesium alloy stents that are being developed for surgeons to use as temporary splints to keep damaged blood vessels in shape while they heal.
The article adds that Magnesium is used because it can corrode away inside the body safely when the stent's job is done.
Wallace says that he and his colleagues have developed a biobattery from a magnesium alloy anode and a conducting polymer cathode, which carries an anti inflammatory drug.
During an experiment, the researchers immersed the device in an electrolyte to simulate the body fluids around a real implant.
They observed that a current was generated in the device when the magnesium oxidised and polymer reduced, reversing the electrostatic charges holding the drug molecules to the polymer.
The team also tried fine tuning the rate of drug delivery by coating the magnesium alloy with a biodegradable polymer that slowed its corrosion, reports New Scientist magazine.
While presenting his team's work at the Medical Bionics meeting in Lorne near Melbourne last week, Wallace said that the drug release rate was engineered into the device's structure.
According to him, the device could be used in any implant that corrodes, such as titanium hip joints, which form titanium oxide on their surface.