Locale-dependent constants (mains voltage, emergency number) shouldn't be hard-coded
@alandev03▲ -2 net votes
Hard-coding wall power at 230 V is wrong for the US (120 V) and Japan (100 V). Setting emergency_number to '911' only when country == 'US' leaves everyone else with None. Derive them from locale or settings and show the assumption.