I added a line to the apmd_proxy to dump its command-line arguments to a log file, and what I'm finding is this:
- Hitting the suspend button twice within about a minute or so (i.e., normal PDA usage) does not result in apmd_proxy being called at all.
- Choosing Suspend from the menu does.
- Waiting about five minutes after hitting the suspend button does.
It's a bit annoying, as the system turns off my Bluetooth card in all cases, but since I'm not actually getting any APM events, I can't make the card eject/reinsert on resume in all cases, so I often end up having to remove the card manually. Yuck.
So is this a known issue?