Note the aforementioned file is part of the hdparm package, which is reasonable to install on a desktop machine:
$ dpkg -S apm/event.d/20hdparm hdparm: /etc/apm/event.d/20hdparm -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1502307 Title: improper APM settings chosen when power status cannot be determined To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/hdparm/+bug/1502307/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs