Rather than having just an on/off switch, an int divider is more useful to have less wakelock usage but keeping the wakelock enabled (you can maintain the old on/*off toggles also, the paths are different)
wlan_rx wakelock divider
/sys/module/bcmdhd/parameters/wl_divide (int from 1 to 8 for example)
msm_hsic wakelock divider
/sys/module/xhci_hcd/parameters/wl_divide (int form 1 to 8 for example)
edit: you can also do a percentage slider like on vibration intensity, because basicly goes from 1 that's is 100%, on 2 is 50%, on 4 25%, 8 i s 12,5% and so on until 0% which disables it
Rather than having just an on/off switch, an int divider is more useful to have less wakelock usage but keeping the wakelock enabled (you can maintain the old on/*off toggles also, the paths are different)
wlan_rx wakelock divider /sys/module/bcmdhd/parameters/wl_divide (int from 1 to 8 for example)
msm_hsic wakelock divider /sys/module/xhci_hcd/parameters/wl_divide (int form 1 to 8 for example)
edit: you can also do a percentage slider like on vibration intensity, because basicly goes from 1 that's is 100%, on 2 is 50%, on 4 25%, 8 i s 12,5% and so on until 0% which disables it