It can work, but shorting the power and ground of the device works better. Surges can move charge within an IC and only leakage paths can remove that charge. So, the technique really affects CMOS type of chips. In your case, likely whatever CPU the thing uses. So, shorting power reduces the time constant to drain the charge. In many of the cases, only <30s is required. A computer wireless mouse took overnight. The failure is non-destructive in the sense that it's reversible.