nadlabak/android_device_motorola_umts_sholes — comment on commit b8442d7007a7d95f1260128dd9b1e8b5465d72d0
File: charge_only_mode/Makefile line 2
By maniac103:

BTW, a (IMHO) more elegant solution to achieve your desired behaviour would be making the charging light in liblights behave differently if the sys.chargeonly.mode property is set to 1.