I was very afraid that the story was going to end with "And they had to cut my seatpost and headset in half, right in front of me."
I once flew with a bike light (heavy lead-acid battery and electronics), and a gps unit (more dense stuff with electronics). That got the red flag in Fargo pretty quick, but was also let through. In Philadelphia they didn't even bat an eye.