Rockbox

  • Status New
  • Percent Complete
    0%
  • Task Type Patches
  • Category Battery/Charging
  • Assigned To No-one
  • Operating System All players
  • Severity Low
  • Priority Very Low
  • Reported Version Daily build (which?)
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Rockbox
Opened by ddalton - 2007-10-21

FS#8006 - Beep when charger is removed or connected

This very small patch simply plays a beep when a charger is removed or plugged in.
I know  FS#7910  voiced this but that was a bit annoying.

The charger stuff will be removed from p7910. I could have added this to it but it isn’t really that related.

Beep only if talk_menu is enabled.

Now depend on a beep_notification setting.
Requires  FS#8007 .

Will apply with out
 FS#8007  But won't compile. This is because global_settings.beep_notification doesn't exist in rockbox.
 FS#8007  adds an option called "Beep notifications" and uses global_settings.beep_notification to hold its setting… Just thought I would explain it.

Anyway this update just makes the beep more noticeable (I think :-))
Enjoy…

I think it is better to just use
talk_menu since beep_setting was closed and really was just a waste of space. No functional change,
Just no more dependencies and rely on talk_menu.
Is anyone interested in committing?
It really is a very small change.

Thanks.

I'll try it out and probably commit.

Resync (just offset lines).

This seems to fine for USB connections but doesn't work consistently on USB removal because the menu item gets voiced over the beep. It works fine if you have a non-voiced item selected, but otherwise not.

The version I am putting up is similar to the above versions.
However it was created by Stephane Doyon, he has given me permission to post this.
The version I am attaching with this comment beeps when the charger is removed or inserted, this patch also means that beeps of different pitch or duration can be sounded depending on if the charger is being removed or inserted, making it easy to know if it is connected or not.
The patch applies fine, though with a few offsets.
The beep_tune patch handles the playing of the different tones and the charger patch does the rest.

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing