I have an Ubuntu 20.04.1 LTS system.
This system, has NEVER had an Android device connected to it, via USB.
Still, to my surprise, I see that adb is running:
# ps -efa | grep adb
bram 72062 1421 0 Oct29 ? 00:04:07 adb -L tcp:5037 fork-server server --reply-fd 7
And the PPID is the systemd process.
Now... why did systemd decide to fire up a server for adb? I never asked for this to happen?
(Kudos to powertop, btw, for highlighting adb, which shows up as an energy waster, to boot!)
Does Ubunutu LTS have adb enabled as a server, by default? I find that hard to believe? Why? Just in case the user has an Android phone?
How can I disable adb from getting launched automatically?
UPDATE:
$ systemctl status adb.service
Unit adb.service could not be found.
After a reboot, the adb process did not come back.
Further examination revealed that adb was started by systemd on behalf of renderdoc and renderdoc leaves it running after exit.