It may be time to just replace that adapter. Yes I'm sure someone will note power profiles but I don't see any text from you about installing a non-HP supplied OS and drivers so here's a list.
See the top 2 items at http://www.amazon.com/Best-Sellers-Electronics-USB-Computer-Network-Adapters/zgbs/electronics/13983791 Looks cheap to fix.
I have a HP Pavilion g6 and i am having trouble with my wireless. It works fine while on battery but once i plug in in for charge, after 2-3 minutes it drops, and it won't connect back unless i unplug it again. In some circumstances i manage to reconnect it while plugged in, but only for a few minutes 5 at the most, then it will disconnect again. I have tried many settings in the router settings and in my Windows, but nothing seems to be a solution.
I have Win 8.1 at the moment, but the same was happening when I had Win 7 as well.
There are no problems with the router either, other laptops in the home work just fine.
I am wondering if there isn't just a lil bug making trouble in some hidden settings that I just can't find.
Please if u have any idea what might it be, please help, any ideas are welcome!
Thanks in advance!