The Sleep Timer ISR and hence check for USB activity is never processed in the HID example. This is because the <jump> statement (to the Sleep Timer ISR) in the interrupt vector table (location 64h) is missing. Please make sure the line
in the boot.asm file at location 64h is replaced with
Do not regenerate application after this change or the change will be overwritten.