Q: How can I disable the 'dingdong' sound when plugging in the charger cable?

Is there an option to disable the ‘dingdong’ sound by some tweak in the .qml files?

Background:
When I can’t sleep in the night and reading e-books → battery goes empty → connect charger → dingdong sounds → imagine how my wife feels if this happens!
No joke! Thanks for any hint!

You don’t head the sound if you enable “Do Not Disturb” -mode. So you could enable it before you plug the phone and disable it right after that (if you don’t want to leave it on for the whole night).

2 Likes

Thanks @avhakola , this works. No sound on plugging in the charger cable when ‘Do not disturb’ is enabled.

If you leave it on during the night, it helps also against those pesky telemarketers, if they somehow have gotten your number and start calling early in the morning :wink:

1 Like

Yes, agree, and over night the phone is always in flight mode. (except I forget to switch flight mode on…)

For me, i physically turn the phone’s volume to zero before plugging in.

For “keeping the significant other happy”, you could also investigate the app Situations and create a set of rules that automatically activates DND, FlightMode, etc. for you.

(e.g., in my case Situation is configured to detect Wifi network (== know that I am home) and certain time periods (== night time) and turn DND and Silent mode on, and turn vibrations off)

4 Likes

Enabling ‘Do not disturb’ is really a good first aid against the ‘dingdong’, but how can I disable it permanently? Right now I searched in the qml files ( /usr/share/lipstick* ) but couldn’t find anything. Where is the link to the `dingdong’ sound file in the qml files? My idea is to simply comment out this path to sound file, to have peace and tranquility from ‘dingdong’.

Why not just replace the file /usr/share/sounds/jolla-ambient/stereo/start_charging.wav with a silent version.

4 Likes

Oh there are a lot of sounds I never heard before!
Some of the sounds are currently silent and very short, e.g. pulldown_highlight.wav .

So I did as devel-su:
cp /usr/share/sounds/jolla-ambient/stereo/start_charging.wav /usr/share/sounds/jolla-ambient/stereo/start_charging.wav.bak
and then
cp /usr/share/sounds/jolla-ambient/stereo/pulldown_highlight.wav /usr/share/sounds/jolla-ambient/stereo/start_charging.wav

edit: This sound file wasn’t silent but contains a short ‘klick’ sound. In general it works fine. Thank you very much @martinh !

edit: I created a 0,1 s long silent file with Audacity. Then it worked. A full reboot of the phone was necessary to take it effect.

Great option. I remember one charger plug in sound I did not hate: the Nokia N900 receiving juice from the charger responding with a starved alien like “whreeeak” = “food!!” noise (after few hours of miserably wasting final electrons of battery charge with sad “puu-dung” sound.
If this was the nineties I’d sacrifice some gaming time to replacing the Sailfish sounds by “hack” now I’ll just wait for “app” or live with it.

FWIW I always disable System Sounds in the Settings.

2 Likes