Can the PN junction be replaced with a magnetic junction? https://phys.org/news/2018-05-device-battery-life-electronic-devices.html