When possible, keep a removable charging cable or adapter with the device it belongs to. Label uncommon accessories with their intended model or purpose.
Verify electrical compatibility from official specifications before substituting a power supply. Similar connectors do not necessarily mean interchangeable equipment. Recycle obsolete electronics through appropriate channels.